]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_inbox.html.erb
Redirect /?query= to /search?query=
[rails.git] / app / views / layouts / _inbox.html.erb
index 02c22e26c1c264967ce23bc3fe4f2ae8aefd9272..cdd708e1cb5a0508ca6981b148f53c1ae42c4e41 100644 (file)
@@ -1 +1,3 @@
+<% if @user.new_messages.size > 0 %>
 <span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
 <span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
+<% end %>