mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 12:03:35 +08:00
remove admin link on user drop down
This commit is contained in:
parent
e3640060fc
commit
2fed513ea2
|
@ -1,9 +1,6 @@
|
|||
<section class='d-dropdown' id='user-dropdown'>
|
||||
<ul class='user-dropdown-links'>
|
||||
<li>{{#link-to 'user' currentUser class="user-activity-link" }}{{i18n user.profile}}{{/link-to}}</li>
|
||||
{{#if showAdminLinks}}
|
||||
<li>{{#link-to 'adminUser' currentUser.username }}{{i18n admin_title}}{{/link-to}}</li>
|
||||
{{/if}}
|
||||
<li>
|
||||
{{#link-to 'userPrivateMessages.index' currentUser class='user-messages-link'}}
|
||||
{{#if currentUser.unread_private_messages}}<span class="badge-notification unread-private-messages">{{currentUser.unread_private_messages}}</span>{{/if}}{{i18n user.unread_message_count}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user