align for user dropdown. No badge for zero incoming message.

This commit is contained in:
Erick Guan 2014-05-16 19:51:32 +08:00
parent bad3c6ea49
commit 60b9c8b79e
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>