mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 18:06:18 +08:00
remove a few things from user menu for now
This commit is contained in:
parent
d334880ab3
commit
39c545873c
|
@ -1,13 +1,7 @@
|
|||
{{#menu-panel visible=visible}}
|
||||
<ul class='menu-links'>
|
||||
<li>{{#link-to 'user' currentUser class="user-activity-link" }}{{i18n 'user.profile'}}{{/link-to}}</li>
|
||||
<li>
|
||||
{{#link-to 'userPrivateMessages.index' currentUser class='user-messages-link'}}
|
||||
{{i18n 'user.unread_message_count'}}{{#if currentUser.unread_private_messages}} <span class="badge-notification unread-private-messages">{{currentUser.unread_private_messages}}</span>{{/if}}
|
||||
{{/link-to}}
|
||||
</li>
|
||||
<li>{{#link-to 'userActivity.bookmarks' currentUser}}{{i18n 'user.bookmarks'}}{{/link-to}}</li>
|
||||
<li>{{#link-to 'preferences' currentUser}}{{i18n 'user.preferences'}}{{/link-to}}</li>
|
||||
{{#if allowAnon}}
|
||||
<li><a href {{action 'toggleAnon'}}>{{#if isAnon}}{{i18n 'switch_from_anon'}}{{else}}{{i18n 'switch_to_anon'}}{{/if}}</a></li>
|
||||
{{/if}}
|
||||
|
@ -15,7 +9,7 @@
|
|||
|
||||
<div class='notifications'>
|
||||
{{#conditional-loading-spinner condition=loadingNotifications containerClass="spinner-container"}}
|
||||
<h3>{{i18n "user.notifications"}}</h3>
|
||||
<hr style="margin:3px 0" />
|
||||
{{#if notifications}}
|
||||
<ul>
|
||||
{{#each notifications as |n|}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user