This commit is contained in:
Joffrey JAFFEUX 2019-02-08 11:38:15 +01:00 committed by GitHub
parent cc496de10e
commit e54612c914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 4 deletions

View File

@ -42,6 +42,6 @@
</div>
<div class="create-actions">
{{d-button label="admin.customize.new" icon="plus" action=(route-action "showCreateModal") class="btn-primary"}}
{{d-button action=(route-action "importModal") icon="upload" label="admin.customize.import" class="btn-default"}}
{{d-button label="admin.customize.new" icon="plus" action=showCreateModal class="btn-primary"}}
{{d-button action=importModal icon="upload" label="admin.customize.import" class="btn-default"}}
</div>

View File

@ -1,5 +1,10 @@
{{#unless editingTheme}}
{{themes-list themes=fullThemes components=childThemes currentTab=currentTab}}
{{themes-list
themes=fullThemes
components=childThemes
currentTab=currentTab
showCreateModal=(route-action "showCreateModal")
importModal=(route-action "importModal")}}
{{/unless}}
{{outlet}}