UX: Stop attempts to convert the default theme to a component by removing button
Client-side of the fix.
This commit is contained in:
parent
e96c373f3a
commit
eeb7aa735a
|
@ -290,7 +290,9 @@
|
||||||
<a href={{previewUrl}} title={{i18n "admin.customize.explain_preview"}} rel="noopener noreferrer" target="_blank" class="btn btn-default">{{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}}</a>
|
<a href={{previewUrl}} title={{i18n "admin.customize.explain_preview"}} rel="noopener noreferrer" target="_blank" class="btn btn-default">{{d-icon "desktop"}}{{i18n "admin.customize.theme.preview"}}</a>
|
||||||
<a class="btn btn-default export" rel="noopener noreferrer" target="_blank" href={{downloadUrl}}>{{d-icon "download"}} {{i18n "admin.export_json.button_text"}}</a>
|
<a class="btn btn-default export" rel="noopener noreferrer" target="_blank" href={{downloadUrl}}>{{d-icon "download"}} {{i18n "admin.export_json.button_text"}}</a>
|
||||||
|
|
||||||
|
{{#unless model.default}}
|
||||||
{{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}}
|
{{d-button action=(action "switchType") label="admin.customize.theme.convert" icon=convertIcon class="btn-default btn-normal" title=convertTooltip}}
|
||||||
|
{{/unless}}
|
||||||
|
|
||||||
{{#if model.component}}
|
{{#if model.component}}
|
||||||
{{#if model.enabled}}
|
{{#if model.enabled}}
|
||||||
|
|
Loading…
Reference in New Issue