FIX: Don't show staff notes on user profile when disabled.
This commit is contained in:
parent
3a920f06d0
commit
06c35cc41a
|
@ -1,3 +1,4 @@
|
|||
{{#if siteSettings.staff_notes_enabled}}
|
||||
{{#if currentUser.staff}}
|
||||
{{#if staffNotesCount}}
|
||||
<li><a {{action "showStaffNotes"}} href class="btn">{{fa-icon "pencil"}}{{i18n 'staff_notes.show' count=staffNotesCount}}</a></li>
|
||||
|
@ -5,3 +6,4 @@
|
|||
<li><a {{action "showStaffNotes"}} href class="btn">{{fa-icon "pencil"}}{{i18n 'staff_notes.title'}}</a></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue