mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
FIX: edit category button on mobile was showing up for moderators even when allow_moderators_to_create_categories was disabled
This commit is contained in:
parent
da419326be
commit
74e7fc8f7e
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@
|
|||
<figure title="{{i18n 'month_desc'}}">{{number c.topics_month}} <figcaption>{{i18n 'month'}}</figcaption></figure>
|
||||
<figure title="{{i18n 'week_desc'}}">{{number c.topics_week}} <figcaption>{{i18n 'week'}}</figcaption></figure>
|
||||
|
||||
{{#if controller.canEdit}}
|
||||
{{#if c.can_edit}}
|
||||
<a href {{action "editCategory" c}} class='btn btn-small'>{{i18n 'category.edit'}}</a>
|
||||
{{/if}}
|
||||
|
||||
|
|
Loading…
Reference in a new issue