diff --git a/js/components/authorship.html b/js/components/authorship.html index 6894ee015..d881bdcb4 100644 --- a/js/components/authorship.html +++ b/js/components/authorship.html @@ -1,14 +1,12 @@ <!-- ko if: createdBy && createdDate --> <div data-bind="css: classes('container')"> - <span data-bind="text: createdText"></span> - <span data-bind="visible: createdBy, text: ko.i18nformat('components.authorship.byCreated', 'by <%=createdBy%>', {createdBy: createdBy})"></span> - <span data-bind="text: ko.i18n('components.authorship.on', 'on')"></span> - <span data-bind="text: createdDate"></span><span data-bind="visible: modifiedDate">,</span> - <span data-bind="visible: modifiedDate"> - <span data-bind="text: ko.i18n('components.authorship.modified', 'modified')"></span> - <span data-bind="visible: createdBy, text: ko.i18nformat('components.authorship.byModified', 'by <%=modifiedBy%>', {modifiedBy: modifiedBy})"></span> - <span data-bind="text: ko.i18n('components.authorship.on', 'on')"></span> - <span data-bind="text: modifiedDate"></span> - </span> + <span data-bind="visible: createdBy, + text: ko.i18nformat('components.authorship.createdLabel', + 'created by <%=createdBy%> on <%=cratedDate%>', + {createdBy: createdBy, createdDate: createdDate})"></span><span data-bind="visible: modifiedDate">,</span> + <span data-bind="visible: modifiedDate, + text: ko.i18nformat('components.authorship.modifiedLabel', + 'modified by <%=modifiedBy%> on <%=modifiedDate%>', + {modifiedBy: modifiedBy, modifiedDate: modifiedDate})"></span> </div> -<!-- /ko --> \ No newline at end of file +<!-- /ko -->