diff --git a/gui/app/components/document/page-heading.js b/gui/app/components/document/page-heading.js index 2682a96b..0fc47ba4 100644 --- a/gui/app/components/document/page-heading.js +++ b/gui/app/components/document/page-heading.js @@ -79,8 +79,7 @@ export default Component.extend(Notifier, ModalMixin, { this._super(...arguments); let pageId = this.get('page.id'); - let url = window.location.protocol + '//' + this.get('appMeta.appHost') + - this.get('router').generate('document.index', {queryParams: {currentPageId: pageId}}); + let url = window.location.protocol + '//' + this.get('appMeta.appHost') + this.get('router').generate('document.index', {queryParams: {currentPageId: pageId}}); let self = this; let clip = new ClipboardJS('#page-copy-link-' + pageId, { diff --git a/gui/app/templates/components/document/document-toolbar.hbs b/gui/app/templates/components/document/document-toolbar.hbs index edbc2cff..b901be8b 100644 --- a/gui/app/templates/components/document/document-toolbar.hbs +++ b/gui/app/templates/components/document/document-toolbar.hbs @@ -19,7 +19,7 @@ {{/if}} {{/if}} - {{#ui/ui-toolbar-dropdown label="Content" arrow=true}} + {{#ui/ui-toolbar-dropdown label=(localize 'content') arrow=true}} {{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}