diff --git a/gui/.template-lintrc.js b/gui/.template-lintrc.js index bc3dae2c..0d5a2bc7 100644 --- a/gui/.template-lintrc.js +++ b/gui/.template-lintrc.js @@ -5,12 +5,14 @@ module.exports = { rules: { 'attribute-indentation': false, 'block-indentation': false, - 'no-nested-interactive': false, + 'img-alt-attributes': false, 'link-rel-noopener': false, + 'no-inline-styles': false, + 'no-invalid-interactive': false, + 'no-nested-interactive': false, 'no-triple-curlies': false, 'style-concatenation': false, - 'no-inline-styles': false, - 'img-alt-attributes': false, + 'simple-unless': false, } }; diff --git a/gui/app/components/customize/user-list.js b/gui/app/components/customize/user-list.js index 54021a0f..2e90a8d7 100644 --- a/gui/app/components/customize/user-list.js +++ b/gui/app/components/customize/user-list.js @@ -10,6 +10,7 @@ // https://documize.com import $ from 'jquery'; +import { observer } from '@ember/object'; import { inject as service } from '@ember/service'; import { schedule, debounce } from '@ember/runloop'; import AuthProvider from '../../mixins/auth'; @@ -47,9 +48,9 @@ export default Component.extend(AuthProvider, ModalMixin, { this.set('users', users); }, - onKeywordChange: function () { + onKeywordChange: observer('filter', function() { debounce(this, this.filterUsers, 350); - }.observes('filter'), + }), filterUsers() { this.get('onFilter')(this.get('filter')); diff --git a/gui/app/components/document/add-section.js b/gui/app/components/document/add-section.js index e2adc271..89a98c3f 100644 --- a/gui/app/components/document/add-section.js +++ b/gui/app/components/document/add-section.js @@ -12,7 +12,7 @@ import $ from 'jquery'; import { empty } from '@ember/object/computed'; import { inject as service } from '@ember/service'; -import { computed } from '@ember/object'; +import { computed, observer } from '@ember/object'; import Notifier from '../../mixins/notifier'; import Modals from '../../mixins/modal'; import Component from '@ember/component'; @@ -33,7 +33,7 @@ export default Component.extend(Notifier, Modals, { return this.get('blocks.length') > 0; }), - onModalToggle: function () { + onModalToggle: observer('show', function() { let modalId = this.get('modalId'); if (this.get('show')) { @@ -48,7 +48,7 @@ export default Component.extend(Notifier, Modals, { $(modalId).modal('hide'); $(modalId).modal('dispose'); } - }.observes('show'), + }), addSection(model) { this.modalClose(this.get('modalId')); diff --git a/gui/app/components/document/content-linker.js b/gui/app/components/document/content-linker.js index 27f511a2..43d217db 100644 --- a/gui/app/components/document/content-linker.js +++ b/gui/app/components/document/content-linker.js @@ -10,7 +10,7 @@ // https://documize.com import { debounce } from '@ember/runloop'; -import { computed, set } from '@ember/object'; +import { computed, set, observer } from '@ember/object'; import { inject as service } from '@ember/service'; import stringUtil from '../../utils/string'; import ModalMixin from '../../mixins/modal'; @@ -35,7 +35,7 @@ export default Component.extend(ModalMixin, { }), modalId: computed('page', function() { return '#content-linker-modal-' + this.get('page.id'); }), showModal: false, - onToggle: function() { + onToggle: observer('showModal', function() { let modalId = this.get('modalId'); if (!this.get('showModal')) { @@ -55,7 +55,7 @@ export default Component.extend(ModalMixin, { }); this.modalOpen(modalId, {show: true}); - }.observes('showModal'), + }), init() { this._super(...arguments); @@ -77,9 +77,9 @@ export default Component.extend(ModalMixin, { this.modalClose(this.get('modalId')); }, - onKeywordChange: function() { + onKeywordChange: observer('keywords', function() { debounce(this, this.fetch, 750); - }.observes('keywords'), + }), fetch() { let keywords = this.get('keywords'); diff --git a/gui/app/components/document/page-heading.js b/gui/app/components/document/page-heading.js index 330a901e..15f5f800 100644 --- a/gui/app/components/document/page-heading.js +++ b/gui/app/components/document/page-heading.js @@ -10,7 +10,7 @@ // https://documize.com import $ from 'jquery'; -import { computed } from '@ember/object'; +import { computed, observer } from '@ember/object'; import { debounce } from '@ember/runloop'; import { inject as service } from '@ember/service'; import ModalMixin from '../../mixins/modal'; @@ -28,9 +28,9 @@ export default Component.extend(ModalMixin, { canDelete: false, canMove: false, docSearchFilter: '', - onKeywordChange: function () { + onKeywordChange: observer('docSearchFilter', function() { debounce(this, this.searchDocs, 750); - }.observes('docSearchFilter'), + }), emptySearch: computed('docSearchResults', function() { return this.get('docSearchResults.length') === 0; }), diff --git a/gui/app/pods/auth/forgot/template.hbs b/gui/app/pods/auth/forgot/template.hbs index 2fbd196b..c5d9142f 100644 --- a/gui/app/pods/auth/forgot/template.hbs +++ b/gui/app/pods/auth/forgot/template.hbs @@ -1,11 +1,11 @@
diff --git a/gui/app/pods/auth/keycloak/template.hbs b/gui/app/pods/auth/keycloak/template.hbs index 8a8701a2..02aeef8e 100644 --- a/gui/app/pods/auth/keycloak/template.hbs +++ b/gui/app/pods/auth/keycloak/template.hbs @@ -1,11 +1,11 @@ -{{#if (is-equal model.mode 'login')}} +{{#if (is-equal model.mode "login")}}

Authenticating with Keycloak...

- +
{{/if}} -{{#if (is-equal model.mode 'reject')}} +{{#if (is-equal model.mode "reject")}}

Keycloak authentication failure

{{model.message}}

diff --git a/gui/app/pods/auth/login/template.hbs b/gui/app/pods/auth/login/template.hbs index 035a5534..75eaeb72 100644 --- a/gui/app/pods/auth/login/template.hbs +++ b/gui/app/pods/auth/login/template.hbs @@ -2,10 +2,10 @@ {{#if model.showLogin}}
-
+
{{#if isAuthProviderDocumize}} @@ -29,7 +29,7 @@
Invalid credentials
{{#if isAuthProviderDocumize}} - {{#link-to 'auth.forgot'}}Forgot your password?{{/link-to}} + {{#link-to "auth.forgot"}}Forgot your password?{{/link-to}} {{/if}}
diff --git a/gui/app/pods/auth/logout/template.hbs b/gui/app/pods/auth/logout/template.hbs index fc1ac6c2..8b871fef 100644 --- a/gui/app/pods/auth/logout/template.hbs +++ b/gui/app/pods/auth/logout/template.hbs @@ -1,4 +1,4 @@

Logging out...

- +
diff --git a/gui/app/pods/auth/reset/template.hbs b/gui/app/pods/auth/reset/template.hbs index 4a9a3869..6f57d2ba 100644 --- a/gui/app/pods/auth/reset/template.hbs +++ b/gui/app/pods/auth/reset/template.hbs @@ -1,9 +1,9 @@
- {{password-reset reset=(action 'reset')}} + {{password-reset reset=(action "reset")}}
diff --git a/gui/app/pods/auth/sso/template.hbs b/gui/app/pods/auth/sso/template.hbs index bdba4577..374e0457 100644 --- a/gui/app/pods/auth/sso/template.hbs +++ b/gui/app/pods/auth/sso/template.hbs @@ -1,4 +1,4 @@

Signing in...

- +
diff --git a/gui/app/pods/customize/auth/template.hbs b/gui/app/pods/customize/auth/template.hbs index 46c814fa..172b24ec 100644 --- a/gui/app/pods/customize/auth/template.hbs +++ b/gui/app/pods/customize/auth/template.hbs @@ -1,7 +1,7 @@ {{customize/auth-settings authProvider=model.authProvider authConfig=model.authConfig - onSave=(action 'onSave') - onSyncLDAP=(action 'onSyncLDAP') - onSyncKeycloak=(action 'onSyncKeycloak') - onChange=(action 'onChange')}} + onSave=(action "onSave") + onSyncLDAP=(action "onSyncLDAP") + onSyncKeycloak=(action "onSyncKeycloak") + onChange=(action "onChange")}} diff --git a/gui/app/pods/customize/backup/template.hbs b/gui/app/pods/customize/backup/template.hbs index f921e19b..b63e8b10 100644 --- a/gui/app/pods/customize/backup/template.hbs +++ b/gui/app/pods/customize/backup/template.hbs @@ -1 +1 @@ -{{customize/backup-restore onBackup=(action 'onBackup') onRestore=(action 'onRestore')}} +{{customize/backup-restore onBackup=(action "onBackup") onRestore=(action "onRestore")}} diff --git a/gui/app/pods/customize/general/template.hbs b/gui/app/pods/customize/general/template.hbs index 38558ce5..6cf16adf 100644 --- a/gui/app/pods/customize/general/template.hbs +++ b/gui/app/pods/customize/general/template.hbs @@ -1 +1 @@ -{{customize/general-settings model=model save=(action 'save')}} +{{customize/general-settings model=model save=(action "save")}} diff --git a/gui/app/pods/customize/search/template.hbs b/gui/app/pods/customize/search/template.hbs index e0c02209..cf66128a 100644 --- a/gui/app/pods/customize/search/template.hbs +++ b/gui/app/pods/customize/search/template.hbs @@ -1 +1 @@ -{{customize/search-index searchStatus=model reindex=(action 'reindex')}} +{{customize/search-index searchStatus=model reindex=(action "reindex")}} diff --git a/gui/app/pods/customize/smtp/template.hbs b/gui/app/pods/customize/smtp/template.hbs index 64dbab5c..b1833c3e 100644 --- a/gui/app/pods/customize/smtp/template.hbs +++ b/gui/app/pods/customize/smtp/template.hbs @@ -1 +1 @@ -{{customize/smtp-settings model=model saveSMTP=(action 'saveSMTP')}} +{{customize/smtp-settings model=model saveSMTP=(action "saveSMTP")}} diff --git a/gui/app/pods/customize/template.hbs b/gui/app/pods/customize/template.hbs index 54ab043f..5661ab3f 100644 --- a/gui/app/pods/customize/template.hbs +++ b/gui/app/pods/customize/template.hbs @@ -12,44 +12,44 @@

Configure authentication, SMTP, licensing and manage user accounts

    - {{#link-to 'customize.groups' activeClass='selected' class="tab tab-vertical" tagName="li" }}Groups{{/link-to}} - {{#link-to 'customize.users' activeClass='selected' class="tab tab-vertical" tagName="li" }}Users{{/link-to}} + {{#link-to "customize.groups" activeClass="selected" class="tab tab-vertical" tagName="li"}}Groups{{/link-to}} + {{#link-to "customize.users" activeClass="selected" class="tab tab-vertical" tagName="li"}}Users{{/link-to}} {{#if session.isGlobalAdmin}} - {{#link-to 'customize.auth' activeClass='selected' class="tab tab-vertical" tagName="li" }}Authentication{{/link-to}} + {{#link-to "customize.auth" activeClass="selected" class="tab tab-vertical" tagName="li"}}Authentication{{/link-to}} {{/if}}
    - {{#link-to 'customize.folders' activeClass='selected' class="tab tab-vertical" tagName="li" }}Spaces{{/link-to}} + {{#link-to "customize.folders" activeClass="selected" class="tab tab-vertical" tagName="li"}}Spaces{{/link-to}} {{#if session.isGlobalAdmin}} - {{#link-to 'customize.search' activeClass='selected' class="tab tab-vertical" tagName="li" }}Search{{/link-to}} + {{#link-to "customize.search" activeClass="selected" class="tab tab-vertical" tagName="li"}}Search{{/link-to}} {{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}} - {{#link-to 'customize.audit' activeClass='selected' class="tab tab-vertical" tagName="li" }}Audit{{/link-to}} + {{#link-to "customize.audit" activeClass="selected" class="tab tab-vertical" tagName="li"}}Audit{{/link-to}} {{/if}} {{/if}}
    - {{#link-to 'customize.backup' activeClass='selected' class="tab tab-vertical" tagName="li" }}Backup // Restore{{/link-to}} + {{#link-to "customize.backup" activeClass="selected" class="tab tab-vertical" tagName="li"}}Backup // Restore{{/link-to}}
    {{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}} - {{#link-to 'customize.billing' activeClass='selected' class="tab tab-vertical" tagName="li" }}Billing{{/link-to}} + {{#link-to "customize.billing" activeClass="selected" class="tab tab-vertical" tagName="li"}}Billing{{/link-to}} {{/if}} - {{#link-to 'customize.product' activeClass='selected' class="tab tab-vertical" tagName="li" }}Changelog{{/link-to}} + {{#link-to "customize.product" activeClass="selected" class="tab tab-vertical" tagName="li"}}Changelog{{/link-to}}
{{/layout/middle-zone-sidebar}} diff --git a/gui/app/pods/customize/users/template.hbs b/gui/app/pods/customize/users/template.hbs index 56880381..9630c549 100644 --- a/gui/app/pods/customize/users/template.hbs +++ b/gui/app/pods/customize/users/template.hbs @@ -1,6 +1,6 @@ {{customize/user-admin users=model - onAddUser=(action 'onAddUser') - onAddUsers=(action 'onAddUsers')}} + onAddUser=(action "onAddUser") + onAddUsers=(action "onAddUsers")}} {{customize/user-list users=model syncInProgress=syncInProgress diff --git a/gui/app/pods/document/index/template.hbs b/gui/app/pods/document/index/template.hbs index 3d82d00e..7d56e8f1 100644 --- a/gui/app/pods/document/index/template.hbs +++ b/gui/app/pods/document/index/template.hbs @@ -1,11 +1,11 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" folder.id folder.slug class='link'}} + {{#link-to "folder.index" folder.id folder.slug class="link"}} {{folder.name}} {{/link-to}}
  • - {{#link-to 'document.index' folder.id folder.slug document.id document.slug class="link selected"}} + {{#link-to "document.index" folder.id folder.slug document.id document.slug class="link selected"}} {{document.name}} {{/link-to}}
  • @@ -23,24 +23,24 @@ document=document versions=versions permissions=permissions - refresh=(action 'refresh') - onSaveTemplate=(action 'onSaveTemplate') - onSaveDocument=(action 'onSaveDocument') - onDocumentDelete=(action 'onDocumentDelete')}} + refresh=(action "refresh") + onSaveTemplate=(action "onSaveTemplate") + onSaveDocument=(action "onSaveDocument") + onDocumentDelete=(action "onDocumentDelete")}}
      -
    • Content
    • +
    • Content
    • {{#if session.authenticated}} {{#if showRevisions}} -
    • Revisions
    • +
    • Revisions
    • {{/if}} {{/if}}
    -
    +

    {{#if document.template}} Template   @@ -58,9 +58,9 @@ document=document versions=versions permissions=permissions - onSaveDocument=(action 'onSaveDocument')}} + onSaveDocument=(action "onSaveDocument")}} - {{#if (eq tab 'content')}} + {{#if (eq tab "content")}} {{document/view-content roles=roles links=links @@ -72,25 +72,25 @@ document=document permissions=permissions currentPageId=currentPageId - refresh=(action 'refresh') - onSavePage=(action 'onSavePage') - onCopyPage=(action 'onCopyPage') - onMovePage=(action 'onMovePage') - onDeletePage=(action 'onPageDeleted') - onInsertSection=(action 'onInsertSection') - onSavePageAsBlock=(action 'onSavePageAsBlock') - onPageLevelChange=(action 'onPageLevelChange') - onPageSequenceChange=(action 'onPageSequenceChange')}} + refresh=(action "refresh") + onSavePage=(action "onSavePage") + onCopyPage=(action "onCopyPage") + onMovePage=(action "onMovePage") + onDeletePage=(action "onPageDeleted") + onInsertSection=(action "onInsertSection") + onSavePageAsBlock=(action "onSavePageAsBlock") + onPageLevelChange=(action "onPageLevelChange") + onPageSequenceChange=(action "onPageSequenceChange")}} {{/if}} - {{#if (eq tab 'revision')}} + {{#if (eq tab "revision")}} {{#if showRevisions}} {{document/view-revision pages=pages folder=folder document=document permissions=permissions - onRollback=(action 'onRollback')}} + onRollback=(action "onRollback")}} {{/if}} {{/if}} @@ -107,9 +107,9 @@ document=document permissions=permissions currentPageId=currentPageId - onShowPage=(action 'onShowPage') - onPageLevelChange=(action 'onPageLevelChange') - onPageSequenceChange=(action 'onPageSequenceChange')}} + onShowPage=(action "onShowPage") + onPageLevelChange=(action "onPageLevelChange") + onPageSequenceChange=(action "onPageSequenceChange")}} {{/layout/middle-zone-sidebar}} diff --git a/gui/app/pods/document/section/template.hbs b/gui/app/pods/document/section/template.hbs index 6d20d215..cb420a84 100644 --- a/gui/app/pods/document/section/template.hbs +++ b/gui/app/pods/document/section/template.hbs @@ -1,11 +1,11 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" model.folder.id model.folder.slug class='link'}} + {{#link-to "folder.index" model.folder.id model.folder.slug class="link"}} {{model.folder.name}} {{/link-to}}
  • - {{#link-to 'document.index' model.folder.id model.folder.slug model.document.id model.document.slug class="link selected"}} + {{#link-to "document.index" model.folder.id model.folder.slug model.document.id model.document.slug class="link selected"}} {{model.document.name}} {{/link-to}}
  • @@ -15,7 +15,7 @@
    - {{document/document-editor document=model.document folder=model.folder page=model.page meta=model.meta onCancel=(action 'onCancel') onAction=(action 'onAction')}} + {{document/document-editor document=model.document folder=model.folder page=model.page meta=model.meta onCancel=(action "onCancel") onAction=(action "onAction")}}
    diff --git a/gui/app/pods/document/settings/template.hbs b/gui/app/pods/document/settings/template.hbs index eab1432a..773e58d6 100644 --- a/gui/app/pods/document/settings/template.hbs +++ b/gui/app/pods/document/settings/template.hbs @@ -1,16 +1,16 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" model.folder.id model.folder.slug class='link'}} + {{#link-to "folder.index" model.folder.id model.folder.slug class="link"}} {{model.folder.name}} {{/link-to}}
  • - {{#link-to 'document.index' model.folder.id model.folder.slug model.document.id model.document.slug class="link"}} + {{#link-to "document.index" model.folder.id model.folder.slug model.document.id model.document.slug class="link"}} {{model.document.name}} {{/link-to}}
  • - {{#link-to "document.settings" model.folder.id model.folder.slug class='link selected'}} + {{#link-to "document.settings" model.folder.id model.folder.slug class="link selected"}} Settings {{/link-to}}
  • @@ -18,28 +18,28 @@ {{#layout/middle-zone}} {{#layout/middle-zone-content}} - {{#if (eq tab 'general')}} + {{#if (eq tab "general")}} {{document/settings-general space=model.folder document=model.document permissions=model.permissions - onSaveDocument=(action 'onSaveDocument')}} + onSaveDocument=(action "onSaveDocument")}} {{/if}} - {{#if (eq tab 'meta')}} + {{#if (eq tab "meta")}} {{document/settings-meta space=model.folder document=model.document permissions=model.permissions - onSaveDocument=(action 'onSaveDocument')}} + onSaveDocument=(action "onSaveDocument")}} {{/if}} {{/layout/middle-zone-content}} {{#layout/middle-zone-sidebar}} {{/layout/middle-zone-sidebar}} diff --git a/gui/app/pods/folder/block/template.hbs b/gui/app/pods/folder/block/template.hbs index 440753e9..c28a62dd 100644 --- a/gui/app/pods/folder/block/template.hbs +++ b/gui/app/pods/folder/block/template.hbs @@ -1,17 +1,17 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" model.folder.id model.folder.slug class='link'}} + {{#link-to "folder.index" model.folder.id model.folder.slug class="link"}} {{model.folder.name}} {{/link-to}}
  • - {{#link-to 'document.index' model.folder.id model.folder.slug model.document.id model.document.slug class="link selected"}} + {{#link-to "document.index" model.folder.id model.folder.slug model.document.id model.document.slug class="link selected"}} {{model.document.name}} {{/link-to}}
  • {{/layout/top-bar}} -{{document/block-editor document=model.document folder=model.folder block=model.block onCancel=(action 'onCancel') onAction=(action 'onAction')}} +{{document/block-editor document=model.document folder=model.folder block=model.block onCancel=(action "onCancel") onAction=(action "onAction")}} {{#layout/bottom-bar}} {{/layout/bottom-bar}} \ No newline at end of file diff --git a/gui/app/pods/folder/index/template.hbs b/gui/app/pods/folder/index/template.hbs index 9dbf9248..1951eb52 100644 --- a/gui/app/pods/folder/index/template.hbs +++ b/gui/app/pods/folder/index/template.hbs @@ -1,6 +1,6 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" model.folder.id model.folder.slug class='link selected'}} + {{#link-to "folder.index" model.folder.id model.folder.slug class="link selected"}} {{model.folder.name}} {{/link-to}}
  • @@ -16,7 +16,7 @@ category=category categories=model.categories documents=filteredDocs - onRefresh=(action 'onRefresh')}} + onRefresh=(action "onRefresh")}} {{folder/documents-list documents=filteredDocs @@ -24,9 +24,9 @@ space=model.folder templates=model.templates permissions=model.permissions - onExportDocument=(action 'onExportDocument') - onDeleteDocument=(action 'onDeleteDocument') - onMoveDocument=(action 'onMoveDocument')}} + onExportDocument=(action "onExportDocument") + onDeleteDocument=(action "onDeleteDocument") + onMoveDocument=(action "onMoveDocument")}} {{/layout/middle-zone-content}} {{#layout/middle-zone-sidebar scrollable=true}} @@ -42,8 +42,8 @@ categoryMembers=model.categoryMembers rootDocCount=model.rootDocCount categoryFilter=category - onFiltered=(action 'onFiltered') - onRefresh=(action 'onRefresh')}} + onFiltered=(action "onFiltered") + onRefresh=(action "onRefresh")}}

    {{/layout/middle-zone-sidebar}} {{/layout/middle-zone}} diff --git a/gui/app/pods/folder/settings/template.hbs b/gui/app/pods/folder/settings/template.hbs index 8e5bbe7c..d5ebc302 100644 --- a/gui/app/pods/folder/settings/template.hbs +++ b/gui/app/pods/folder/settings/template.hbs @@ -1,11 +1,11 @@ {{#layout/top-bar}}
  • - {{#link-to "folder.index" model.folder.id model.folder.slug class='link'}} + {{#link-to "folder.index" model.folder.id model.folder.slug class="link"}} {{model.folder.name}} {{/link-to}}
  • - {{#link-to "folder.settings" model.folder.id model.folder.slug class='link selected'}} + {{#link-to "folder.settings" model.folder.id model.folder.slug class="link selected"}} Settings {{/link-to}}
  • @@ -13,33 +13,33 @@ {{#layout/middle-zone}} {{#layout/middle-zone-content}} - {{#if (eq tab 'general')}} + {{#if (eq tab "general")}} {{folder/settings-general permissions=model.permissions space=model.folder}} {{/if}} - {{#if (eq tab 'permissions')}} - {{folder/settings-permissions permissions=model.permissions folders=model.folders folder=model.folder onRefresh=(action 'onRefresh')}} + {{#if (eq tab "permissions")}} + {{folder/settings-permissions permissions=model.permissions folders=model.folders folder=model.folder onRefresh=(action "onRefresh")}} {{/if}} - {{#if (eq tab 'templates')}} + {{#if (eq tab "templates")}} {{folder/settings-templates permissions=model.permissions space=model.folder templates=model.templates}} {{/if}} - {{#if (eq tab 'blocks')}} + {{#if (eq tab "blocks")}} {{folder/settings-blocks permissions=model.permissions space=model.folder}} {{/if}} {{#if (eq appMeta.edition constants.Product.EnterpriseEdition)}} - {{#if (eq tab 'archived')}} + {{#if (eq tab "archived")}} {{enterprise/space-archived permissions=model.permissions spaces=model.folder space=model.folder}} {{/if}} {{/if}} - {{#if (eq tab 'categories')}} + {{#if (eq tab "categories")}} {{folder/settings-category permissions=model.permissions spaces=model.folder space=model.folder}} {{/if}} - {{#if (eq tab 'deletion')}} + {{#if (eq tab "deletion")}} {{folder/settings-delete permissions=model.permissions spaces=model.folder space=model.folder}} {{/if}} {{/layout/middle-zone-content}} @@ -47,28 +47,28 @@ {{#layout/middle-zone-sidebar}}