mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 18:05:08 +08:00
FIX: Hide advanced theme fields behind a flag, pending UI improvement
This commit is contained in:
parent
d08939ab05
commit
49e7073438
|
@ -19,14 +19,18 @@
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
</li>
|
</li>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
|
{{#if allowAdvanced}}
|
||||||
<li>
|
<li>
|
||||||
<a {{action "toggleShowAdvanced"}}
|
<a {{action "toggleShowAdvanced"}}
|
||||||
class='no-text'
|
class='no-text'
|
||||||
title="{{i18n (concat "admin.customize.theme." (if showAdvanced "hide_advanced" "show_advanced"))}}"
|
title="{{i18n (concat "admin.customize.theme." (if showAdvanced "hide_advanced" "show_advanced"))}}"
|
||||||
>
|
>
|
||||||
{{d-icon (if showAdvanced "angle-double-left" "angle-double-right")}}
|
{{d-icon (if showAdvanced "angle-double-left" "angle-double-right")}}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
<li class="spacer"></li>
|
<li class="spacer"></li>
|
||||||
<li>
|
<li>
|
||||||
<label>
|
<label>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user