From f2d7e4906b3654d947e848cddfb5eec8baa5296d Mon Sep 17 00:00:00 2001 From: Jeff Atwood Date: Tue, 13 May 2014 21:55:38 -0700 Subject: [PATCH] symmetry between PM notifications and user page --- .../javascripts/discourse/templates/user/user.js.handlebars | 2 +- app/assets/stylesheets/mobile/header.scss | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user/user.js.handlebars b/app/assets/javascripts/discourse/templates/user/user.js.handlebars index e4d321d1b60..ae1527c0b41 100644 --- a/app/assets/javascripts/discourse/templates/user/user.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/user.js.handlebars @@ -45,7 +45,7 @@
  • {{#link-to 'userPrivateMessages.unread' model}} {{i18n user.messages.unread}} - {{#if hasUnreadPMs}}({{private_messages_stats.unread}}){{/if}} + {{#if hasUnreadPMs}}({{private_messages_stats.unread}}){{/if}} {{/link-to}}
  • diff --git a/app/assets/stylesheets/mobile/header.scss b/app/assets/stylesheets/mobile/header.scss index 2aaeafe4fb3..0005b86ea36 100644 --- a/app/assets/stylesheets/mobile/header.scss +++ b/app/assets/stylesheets/mobile/header.scss @@ -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;