diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs index 73d78b085e3..7e532cfe893 100644 --- a/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs +++ b/app/assets/javascripts/admin/addon/templates/customize-themes-show.hbs @@ -55,26 +55,26 @@
{{#if model.remote_theme}} - {{#if model.remote_theme.remote_url}} - {{#if sourceIsHttp}} - {{i18n "admin.customize.theme.source_url"}}{{d-icon "link"}} - {{else}} -
{{model.remote_theme.remote_url}}
- {{/if}} - {{/if}} - {{#if model.remote_theme.about_url}} - {{i18n "admin.customize.theme.about_theme"}}{{d-icon "link"}} - {{/if}} - {{#if model.remote_theme.license_url}} - {{i18n "admin.customize.theme.license"}}{{d-icon "link"}} + {{#if model.remote_theme.remote_url}} + {{#if sourceIsHttp}} + {{i18n "admin.customize.theme.source_url"}}{{d-icon "link"}} + {{else}} +
{{model.remote_theme.remote_url}}
{{/if}} + {{/if}} + {{#if model.remote_theme.about_url}} + {{i18n "admin.customize.theme.about_theme"}}{{d-icon "link"}} + {{/if}} + {{#if model.remote_theme.license_url}} + {{i18n "admin.customize.theme.license"}}{{d-icon "link"}} + {{/if}} - {{#if model.description}} - {{model.description}} - {{/if}} + {{#if model.description}} + {{model.description}} + {{/if}} - {{#if model.remote_theme.authors}}{{i18n "admin.customize.theme.authors"}} {{model.remote_theme.authors}}{{/if}} - {{#if model.remote_theme.theme_version}}{{i18n "admin.customize.theme.version"}} {{model.remote_theme.theme_version}}{{/if}} + {{#if model.remote_theme.authors}}{{i18n "admin.customize.theme.authors"}} {{model.remote_theme.authors}}{{/if}} + {{#if model.remote_theme.theme_version}}{{i18n "admin.customize.theme.version"}} {{model.remote_theme.theme_version}}{{/if}}
{{#if model.remote_theme.is_git}} @@ -119,16 +119,15 @@ {{/if}}
{{else}} - {{i18n "admin.customize.theme.creator"}} - - {{#user-link user=model.user}} - {{format-username model.user.username}} - {{/user-link}} - + {{i18n "admin.customize.theme.creator"}} + + {{#user-link user=model.user}} + {{format-username model.user.username}} + {{/user-link}} + {{/if}}
- {{#unless model.component}}
{{inline-edit-checkbox action=(action "applyDefault") labelKey="admin.customize.theme.is_default" checked=model.default}} @@ -136,7 +135,6 @@
{{/unless}} - {{#unless model.component}} {{#d-section class="form-horizontal theme settings control-unit"}}
@@ -253,7 +251,7 @@
{{i18n "admin.customize.theme.theme_settings"}}
{{#d-section class="form-horizontal theme settings control-unit"}} {{#each settings as |setting|}} - {{theme-setting-editor setting=setting model=model class="theme-setting"}} + {{theme-setting-editor setting=setting model=model class="theme-setting control-unit"}} {{/each}} {{/d-section}}
@@ -271,7 +269,7 @@ {{/if}}
- + {{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}} {{d-icon "download"}} {{i18n "admin.export_json.button_text"}}