{{d-button action=(action "changeView") actionParam=THEMES class=(concat "themes-tab " "tab " (if themesTabActive "btn-danger active" "")) label="admin.customize.theme.title" }} {{d-button action=(action "changeView") actionParam=COMPONENTS class=(concat "components-tab " "tab " (if componentsTabActive "btn-danger active" "")) label="admin.customize.theme.components" icon="puzzle-piece" }}
{{#if hasThemes}} {{#if hasActiveThemes}} {{#each activeThemes as |theme|}} {{themes-list-item theme=theme navigateToTheme=(action "navigateToTheme" theme)}} {{/each}} {{#if hasInactiveThemes}}
{{#if themesTabActive}} {{i18n "admin.customize.theme.inactive_themes"}} {{else}} {{i18n "admin.customize.theme.inactive_components"}} {{/if}}
{{/if}} {{/if}} {{#if hasInactiveThemes}} {{#each inactiveThemes as |theme|}} {{themes-list-item theme=theme navigateToTheme=(action "navigateToTheme" theme)}} {{/each}} {{/if}} {{else}}
{{i18n "admin.customize.theme.empty"}}
{{/if}}
{{d-button action=installModal icon="upload" label="admin.customize.install" class="btn-primary"}}