mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 05:02:24 +08:00
e0cc29d658
* FEATURE: themes and components split * two seperate methods to switch theme type * use strict equality operator
16 lines
515 B
Handlebars
16 lines
515 B
Handlebars
{{#unless editingTheme}}
|
|
<div class='content-list'>
|
|
<h3>{{i18n 'admin.customize.theme.long_title'}}</h3>
|
|
|
|
<div class="create-actions">
|
|
{{d-button label="admin.customize.new" icon="plus" action="showCreateModal" class="btn-primary"}}
|
|
{{d-button action="importModal" icon="upload" label="admin.customize.import"}}
|
|
</div>
|
|
|
|
{{themes-list themes=fullThemes title="admin.customize.theme.title"}}
|
|
{{themes-list themes=childThemes title="admin.customize.theme.components"}}
|
|
|
|
</div>
|
|
{{/unless}}
|
|
{{outlet}}
|