FIX: Hide advanced theme fields behind a flag, pending UI improvement

This commit is contained in:
David Taylor 2019-02-19 22:25:00 +00:00
parent d08939ab05
commit 49e7073438
1 changed files with 10 additions and 6 deletions

View File

@ -19,14 +19,18 @@
{{/link-to}}
</li>
{{/each}}
{{#if allowAdvanced}}
<li>
<a {{action "toggleShowAdvanced"}}
class='no-text'
title="{{i18n (concat "admin.customize.theme." (if showAdvanced "hide_advanced" "show_advanced"))}}"
>
{{d-icon (if showAdvanced "angle-double-left" "angle-double-right")}}
</a>
<a {{action "toggleShowAdvanced"}}
class='no-text'
title="{{i18n (concat "admin.customize.theme." (if showAdvanced "hide_advanced" "show_advanced"))}}"
>
{{d-icon (if showAdvanced "angle-double-left" "angle-double-right")}}
</a>
</li>
{{/if}}
<li class="spacer"></li>
<li>
<label>