2018-09-06 14:56:00 -04:00
|
|
|
<div class="inner-wrapper">
|
2018-08-30 15:23:15 -04:00
|
|
|
{{plugin-outlet name="admin-customize-themes-list-item" connectorTagName='span' args=(hash theme=theme)}}
|
|
|
|
|
|
|
|
<div class="info">
|
|
|
|
<span class="name">
|
|
|
|
{{theme.name}}
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class="icons">
|
2020-03-09 08:44:34 -04:00
|
|
|
{{#if theme.selected}}
|
|
|
|
{{d-icon "caret-right"}}
|
|
|
|
{{else}}
|
2018-09-06 14:56:00 -04:00
|
|
|
{{#if theme.default}}
|
|
|
|
{{d-icon "check" class="default-indicator" title="admin.customize.theme.default_theme_tooltip"}}
|
|
|
|
{{/if}}
|
|
|
|
{{#if theme.isPendingUpdates}}
|
2019-01-22 14:42:00 -05:00
|
|
|
{{d-icon "sync" title="admin.customize.theme.updates_available_tooltip" class="light-grey-icon"}}
|
2018-09-06 14:56:00 -04:00
|
|
|
{{/if}}
|
|
|
|
{{#if theme.isBroken}}
|
|
|
|
{{d-icon "exclamation-circle" class="broken-indicator" title="admin.customize.theme.broken_theme_tooltip"}}
|
|
|
|
{{/if}}
|
2019-07-03 04:18:11 -04:00
|
|
|
{{#unless theme.enabled}}
|
|
|
|
{{d-icon "ban" class="light-grey-icon" title="admin.customize.theme.disabled_component_tooltip"}}
|
|
|
|
{{/unless}}
|
2020-03-09 08:44:34 -04:00
|
|
|
{{/if}}
|
2018-08-30 15:23:15 -04:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
2018-09-06 14:56:00 -04:00
|
|
|
{{#if displayComponents}}
|
2018-08-30 15:23:15 -04:00
|
|
|
<div class="components-list">
|
2020-03-11 04:23:10 -04:00
|
|
|
<span class="components">{{html-safe childrenString}}</span>
|
2018-11-13 08:57:50 -05:00
|
|
|
|
2018-09-06 14:56:00 -04:00
|
|
|
{{#if displayHasMore}}
|
2020-02-11 09:55:16 -05:00
|
|
|
<a href {{action "toggleChildrenExpanded"}} class="others-count">
|
2018-09-06 14:56:00 -04:00
|
|
|
{{#if childrenExpanded}}
|
2020-03-11 04:23:10 -04:00
|
|
|
{{i18n "admin.customize.theme.collapse"}}
|
2018-09-06 14:56:00 -04:00
|
|
|
{{else}}
|
2020-03-11 04:23:10 -04:00
|
|
|
{{i18n "admin.customize.theme.and_x_more" count=moreCount}}
|
2018-09-06 14:56:00 -04:00
|
|
|
{{/if}}
|
2020-02-11 09:55:16 -05:00
|
|
|
</a>
|
2018-08-30 15:23:15 -04:00
|
|
|
{{/if}}
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
2018-09-06 14:56:00 -04:00
|
|
|
</div>
|