Merge pull request #2349 from fantasticfears/align

Align for user dropdown. No badge for zero incoming message.
This commit is contained in:
Régis Hanol 2014-05-16 14:43:12 +02:00
commit e4125e16e9
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
{{/if}}
<li>
{{#link-to 'userPrivateMessages.index' currentUser class='user-messages-link'}}
{{i18n user.unread_message_count}} <span class="badge-notification unread-private-messages">{{currentUser.unread_private_messages}}</span>
{{#if currentUser.unread_private_messages}}<span class="badge-notification unread-private-messages">{{currentUser.unread_private_messages}}</span>{{/if}}{{i18n user.unread_message_count}}
{{/link-to}}
</li>
<li>{{#link-to 'preferences' currentUser}}{{i18n user.preferences}}{{/link-to}}</li>