{{#if this.editingName}} {{else}} {{this.model.name}} {{/if}}
{{#each this.model.errors as |error|}}
{{error}}
{{/each}} {{#if this.finishInstall}}
{{#if this.sourceIsHttp}} {{i18n "admin.customize.theme.source_url"}}{{d-icon "link"}} {{else}}
{{this.model.remote_theme.remote_url}} {{#if this.model.remote_theme.branch}} ({{this.model.remote_theme.branch}}) {{/if}}
{{/if}} {{#if this.showRemoteError}}
{{d-icon "exclamation-triangle"}} {{i18n "admin.customize.theme.repo_unreachable"}}
{{this.model.remoteError}}
{{/if}} {{i18n "admin.customize.theme.last_attempt"}} {{format-date this.model.remote_theme.updated_at leaveAgo="true"}}
{{else}} {{#unless this.model.supported}}
{{i18n "admin.customize.theme.required_version.error"}} {{#if this.model.remote_theme.minimum_discourse_version}} {{i18n "admin.customize.theme.required_version.minimum" version=this.model.remote_theme.minimum_discourse_version}} {{/if}} {{#if this.model.remote_theme.maximum_discourse_version}} {{i18n "admin.customize.theme.required_version.maximum" version=this.model.remote_theme.maximum_discourse_version}} {{/if}}
{{/unless}} {{#unless this.model.enabled}}
{{#if this.model.disabled_by}} {{i18n "admin.customize.theme.disabled_by"}} {{avatar this.model.disabled_by imageSize="tiny"}} {{this.model.disabled_by.username}} {{format-date this.model.disabled_at leaveAgo="true"}} {{else}} {{i18n "admin.customize.theme.disabled"}} {{/if}}
{{/unless}} {{#if this.showCheckboxes}}
{{#unless this.model.component}} {{/unless}} {{#if this.model.remote_theme}} {{/if}}
{{/if}} {{#unless this.model.component}}
{{i18n "admin.customize.theme.color_scheme"}}
{{i18n "admin.customize.theme.color_scheme_select"}}
{{#if this.colorSchemeChanged}} {{/if}}
{{/unless}} {{#if this.parentThemes}}
{{i18n "admin.customize.theme.component_of"}}
    {{#each this.parentThemes as |theme|}}
  • {{theme.name}}
  • {{/each}}
{{/if}} {{#if this.model.component}}
{{else}}
{{/if}} {{#unless this.model.remote_theme.is_git}}
{{i18n "admin.customize.theme.css_html"}}
{{#if this.model.hasEditedFields}}
{{i18n "admin.customize.theme.custom_sections"}}
    {{#each this.editedFieldsFormatted as |field|}}
  • {{field}}
  • {{/each}}
{{else}}
{{i18n "admin.customize.theme.edit_css_html_help"}}
{{/if}}
{{i18n "admin.customize.theme.uploads"}}
{{#if this.model.uploads}} {{else}}
{{i18n "admin.customize.theme.no_uploads"}}
{{/if}}
{{/unless}} {{#if this.extraFiles.length}}
{{i18n "admin.customize.theme.extra_files"}}
{{#if this.model.remote_theme}} {{i18n "admin.customize.theme.extra_files_remote"}} {{else}} {{i18n "admin.customize.theme.extra_files_upload"}} {{/if}}
    {{#each this.extraFiles as |extraFile|}}
  • {{extraFile.name}}
  • {{/each}}
{{/if}} {{#if this.hasSettings}}
{{i18n "admin.customize.theme.theme_settings"}}

{{i18n "admin.customize.theme.overriden_settings_explanation"}}

{{#each this.settings as |setting|}} {{/each}}
{{/if}} {{#if this.hasTranslations}}
{{i18n "admin.customize.theme.theme_translations"}}
{{#each this.translations as |translation|}} {{/each}}
{{/if}}
{{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}} {{d-icon "download"}} {{i18n "admin.export_json.button_text"}} {{#if this.showConvert}} {{/if}} {{#if this.model.component}} {{#if this.model.enabled}} {{else}} {{/if}} {{/if}}
{{/if}}