remove a few things from user menu for now

This commit is contained in:
Jeff Atwood 2015-08-28 15:47:35 -07:00
parent d334880ab3
commit 39c545873c
1 changed files with 1 additions and 7 deletions

View File

@ -1,13 +1,7 @@
{{#menu-panel visible=visible}} {{#menu-panel visible=visible}}
<ul class='menu-links'> <ul class='menu-links'>
<li>{{#link-to 'user' currentUser class="user-activity-link" }}{{i18n 'user.profile'}}{{/link-to}}</li> <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 'userActivity.bookmarks' currentUser}}{{i18n 'user.bookmarks'}}{{/link-to}}</li>
<li>{{#link-to 'preferences' currentUser}}{{i18n 'user.preferences'}}{{/link-to}}</li>
{{#if allowAnon}} {{#if allowAnon}}
<li><a href {{action 'toggleAnon'}}>{{#if isAnon}}{{i18n 'switch_from_anon'}}{{else}}{{i18n 'switch_to_anon'}}{{/if}}</a></li> <li><a href {{action 'toggleAnon'}}>{{#if isAnon}}{{i18n 'switch_from_anon'}}{{else}}{{i18n 'switch_to_anon'}}{{/if}}</a></li>
{{/if}} {{/if}}
@ -15,7 +9,7 @@
<div class='notifications'> <div class='notifications'>
{{#conditional-loading-spinner condition=loadingNotifications containerClass="spinner-container"}} {{#conditional-loading-spinner condition=loadingNotifications containerClass="spinner-container"}}
<h3>{{i18n "user.notifications"}}</h3> <hr style="margin:3px 0" />
{{#if notifications}} {{#if notifications}}
<ul> <ul>
{{#each notifications as |n|}} {{#each notifications as |n|}}