diff --git a/.template-lintrc.js b/.template-lintrc.js index 5731778fc04..3a85b721b0e 100644 --- a/.template-lintrc.js +++ b/.template-lintrc.js @@ -6,6 +6,7 @@ module.exports = { "self-closing-void-elements": true, "table-groups": true, "style-concatenation": true, - "no-invalid-interactive": true + "no-invalid-interactive": true, + "link-rel-noopener": true } }; diff --git a/app/assets/javascripts/admin/templates/badges-index.hbs b/app/assets/javascripts/admin/templates/badges-index.hbs index a3296fc23e3..fd08e67279b 100644 --- a/app/assets/javascripts/admin/templates/badges-index.hbs +++ b/app/assets/javascripts/admin/templates/badges-index.hbs @@ -5,7 +5,7 @@

{{i18n 'admin.badges.badge_intro.title'}}

{{#each badgeIntroLinks as |link|}} - + {{d-icon link.icon}} {{I18n link.text}} diff --git a/app/assets/javascripts/admin/templates/customize-themes-edit.hbs b/app/assets/javascripts/admin/templates/customize-themes-edit.hbs index d17ab8d2f3b..5fdaa768852 100644 --- a/app/assets/javascripts/admin/templates/customize-themes-edit.hbs +++ b/app/assets/javascripts/admin/templates/customize-themes-edit.hbs @@ -2,20 +2,22 @@

{{i18n 'admin.customize.theme.edit_css_html'}} {{#link-to showRouteName model.id replace=true}}{{model.name}}{{/link-to}}

- {{admin-theme-editor - theme=model - editRouteName=editRouteName + {{admin-theme-editor + theme=model + editRouteName=editRouteName currentTargetName=currentTargetName fieldName=fieldName fieldAdded=(action 'fieldAdded') maximized=maximized onlyOverriddenChanged=(action 'onlyOverriddenChanged') }} - +
{{#each externalResources as |resource|}} - + {{d-icon resource.icon}} {{I18n resource.key}} diff --git a/app/assets/javascripts/admin/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/templates/customize-themes-show.hbs index de6b46da746..2687c6b692f 100644 --- a/app/assets/javascripts/admin/templates/customize-themes-show.hbs +++ b/app/assets/javascripts/admin/templates/customize-themes-show.hbs @@ -206,7 +206,7 @@
    {{#each model.uploads as |upload|}}
  • - ${{upload.name}}: {{upload.filename}} + ${{upload.name}}: {{upload.filename}} {{d-button action=(action "removeUpload") actionParam=upload class="second btn-default btn-default cancel-edit" icon="times"}} @@ -241,8 +241,8 @@
{{/if}} - {{d-icon 'desktop'}}{{i18n 'admin.customize.theme.preview'}} - {{d-icon "download"}} {{i18n 'admin.export_json.button_text'}} + {{d-icon 'desktop'}}{{i18n 'admin.customize.theme.preview'}} + {{d-icon "download"}} {{i18n 'admin.export_json.button_text'}} {{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}} diff --git a/app/assets/javascripts/admin/templates/modal/admin-install-theme.hbs b/app/assets/javascripts/admin/templates/modal/admin-install-theme.hbs index 7307abb411a..eec9151f90d 100644 --- a/app/assets/javascripts/admin/templates/modal/admin-install-theme.hbs +++ b/app/assets/javascripts/admin/templates/modal/admin-install-theme.hbs @@ -11,7 +11,7 @@ {{#each themes as |theme|}}