From 621dde2dc5d07c76531b7ef9940b3860dee17773 Mon Sep 17 00:00:00 2001 From: joshua stein Date: Mon, 3 Sep 2012 13:08:31 -0500 Subject: [PATCH] show new messages in red so it's obvious --- app/assets/stylesheets/application.css | 4 ++++ app/views/layouts/application.html.erb | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index bcba14f..ce07be7 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -281,6 +281,10 @@ div#inside { color: #333; } +#header a.new_messages { + color: #ac130d; +} + /* footer */ diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2d64f72..e2451dc 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -57,8 +57,8 @@ Filters <% if (count = @user.unread_message_count) > 0 %> - <%= count %> New Message<%= count == 1 ? - "" : "s" %> + <%= count %> New + Message<%= count == 1 ? "" : "s" %> <% else %> Messages <% end %>