]> 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 2af76f9ed29e357ecbd6871c9f593e9fde0e43ec..cdd708e1cb5a0508ca6981b148f53c1ae42c4e41 100644 (file)
@@ -1,7 +1,3 @@
-<%= link_to raw(t('layouts.inbox',
-    :count => @user.new_messages.size > 0 ? "<span class='count-number'>#{@user.new_messages.size}</span>" : '')),
-    {
-        :action => 'inbox',
-        :display_name => @user.display_name,
-        :controller => 'message'
-    }, { :id => 'inboxanchor' } %>
+<% if @user.new_messages.size > 0 %>
+<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
+<% end %>