FIX: Hide publish_read_state option from non-admin users (#10148)
This commit is contained in:
parent
fc8e842773
commit
4db9f7bb73
|
@ -62,7 +62,8 @@
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="control-group">
|
{{#if currentUser.admin}}
|
||||||
|
<div class="control-group">
|
||||||
<label>
|
<label>
|
||||||
{{input type="checkbox"
|
{{input type="checkbox"
|
||||||
checked=model.publish_read_state
|
checked=model.publish_read_state
|
||||||
|
@ -70,7 +71,8 @@
|
||||||
|
|
||||||
{{i18n "admin.groups.manage.interaction.publish_read_state"}}
|
{{i18n "admin.groups.manage.interaction.publish_read_state"}}
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
|
{{/if}}
|
||||||
|
|
||||||
{{#if showEmailSettings}}
|
{{#if showEmailSettings}}
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
|
Loading…
Reference in New Issue