]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_inbox.html.erb
Add support for rotating banners, add banners for SOTM, SOTMUS
[rails.git] / app / views / layouts / _inbox.html.erb
index 787dd8bfc496bdc4d814316ea8cb1d757a5d9dac..cdd708e1cb5a0508ca6981b148f53c1ae42c4e41 100644 (file)
@@ -1,3 +1,3 @@
-<span id="inboxanchor" class="count-number">
-  <img src='<%= user_image_url(@user, :size => 20) %>' width='20' height='20'><span><%= @user.new_messages.size %></span>
-</span>
\ No newline at end of file
+<% if @user.new_messages.size > 0 %>
+<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
+<% end %>