mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 03:06:39 +08:00
UX: Hide category settings badges checkbox when enable_badges is off
This commit is contained in:
parent
0a492829ea
commit
50827684d5
@ -46,12 +46,14 @@
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="field">
|
||||
<label>
|
||||
{{input type="checkbox" checked=category.allow_badges}}
|
||||
{{i18n "category.allow_badges_label"}}
|
||||
</label>
|
||||
</section>
|
||||
{{#if siteSettings.enable_badges}}
|
||||
<section class="field allow-badges">
|
||||
<label>
|
||||
{{input type="checkbox" checked=category.allow_badges}}
|
||||
{{i18n "category.allow_badges_label"}}
|
||||
</label>
|
||||
</section>
|
||||
{{/if}}
|
||||
|
||||
{{#if siteSettings.topic_featured_link_enabled}}
|
||||
<section class="field">
|
||||
|
Loading…
x
Reference in New Issue
Block a user