{{#if editingName}} {{else}} {{model.name}} {{/if}}
{{#each model.errors as |error|}}
{{error}}
{{/each}} {{#unless model.supported}}
{{i18n "admin.customize.theme.required_version.error"}} {{#if model.remote_theme.minimum_discourse_version}} {{i18n "admin.customize.theme.required_version.minimum" version=model.remote_theme.minimum_discourse_version}} {{/if}} {{#if model.remote_theme.maximum_discourse_version}} {{i18n "admin.customize.theme.required_version.maximum" version=model.remote_theme.maximum_discourse_version}} {{/if}}
{{/unless}} {{#unless model.enabled}}
{{#if model.disabled_by}} {{i18n "admin.customize.theme.disabled_by"}} {{avatar model.disabled_by imageSize="tiny"}} {{model.disabled_by.username}} {{format-date model.disabled_at leaveAgo="true"}} {{else}} {{i18n "admin.customize.theme.disabled"}} {{/if}}
{{/unless}} {{#if showCheckboxes}}
{{#unless model.component}} {{/unless}} {{#if model.remote_theme}} {{/if}}
{{/if}} {{#unless model.component}}
{{i18n "admin.customize.theme.color_scheme"}}
{{i18n "admin.customize.theme.color_scheme_select"}}
{{#if colorSchemeChanged}} {{/if}}
{{/unless}} {{#if parentThemes}}
{{i18n "admin.customize.theme.component_of"}}
    {{#each parentThemes as |theme|}}
  • {{theme.name}}
  • {{/each}}
{{/if}} {{#if model.component}}
{{else}}
{{/if}} {{#unless model.remote_theme.is_git}}
{{i18n "admin.customize.theme.css_html"}}
{{#if model.hasEditedFields}}
{{i18n "admin.customize.theme.custom_sections"}}
    {{#each editedFieldsFormatted as |field|}}
  • {{field}}
  • {{/each}}
{{else}}
{{i18n "admin.customize.theme.edit_css_html_help"}}
{{/if}}
{{i18n "admin.customize.theme.uploads"}}
{{#if model.uploads}} {{else}}
{{i18n "admin.customize.theme.no_uploads"}}
{{/if}}
{{/unless}} {{#if extraFiles.length}}
{{i18n "admin.customize.theme.extra_files"}}
{{#if model.remote_theme}} {{i18n "admin.customize.theme.extra_files_remote"}} {{else}} {{i18n "admin.customize.theme.extra_files_upload"}} {{/if}}
    {{#each extraFiles as |extraFile|}}
  • {{extraFile.name}}
  • {{/each}}
{{/if}} {{#if hasSettings}}
{{i18n "admin.customize.theme.theme_settings"}}
{{#each settings as |setting|}} {{/each}}
{{/if}} {{#if hasTranslations}}
{{i18n "admin.customize.theme.theme_translations"}}
{{#each translations as |translation|}} {{/each}}
{{/if}}
{{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}} {{d-icon "download"}} {{i18n "admin.export_json.button_text"}} {{#if showConvert}} {{/if}} {{#if model.component}} {{#if model.enabled}} {{else}} {{/if}} {{/if}}