mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
symmetry between PM notifications and user page
This commit is contained in:
parent
97373535c8
commit
f2d7e4906b
2 changed files with 5 additions and 2 deletions
|
@ -45,7 +45,7 @@
|
|||
<li {{bind-attr class=":noGlyph privateMessagesUnreadActive:active"}}>
|
||||
{{#link-to 'userPrivateMessages.unread' model}}
|
||||
{{i18n user.messages.unread}}
|
||||
{{#if hasUnreadPMs}}<span class='count'>({{private_messages_stats.unread}})</span>{{/if}}
|
||||
{{#if hasUnreadPMs}}<span class='badge-notification unread-private-messages'>({{private_messages_stats.unread}})</span>{{/if}}
|
||||
<span class='fa fa-chevron-right'></span>
|
||||
{{/link-to}}
|
||||
</li>
|
||||
|
|
|
@ -126,13 +126,16 @@
|
|||
}
|
||||
.unread-private-messages {
|
||||
left: -4px;
|
||||
background-color: $success;
|
||||
}
|
||||
}
|
||||
.flagged-posts {
|
||||
background-color: $danger;
|
||||
}
|
||||
}
|
||||
/* this needs to be global since it is used on the user page, left hand column, messages */
|
||||
.unread-private-messages {
|
||||
background-color: $success;
|
||||
}
|
||||
|
||||
#main {
|
||||
position: relative;
|
||||
|
|
Loading…
Reference in a new issue