]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_inbox.html.erb
Changed report button + Added disclaimer on report page + Added search filter
[rails.git] / app / views / layouts / _inbox.html.erb
index fbebe3fc19fc5a0f285022ef000637a574a4d573..cdd708e1cb5a0508ca6981b148f53c1ae42c4e41 100644 (file)
@@ -1 +1,3 @@
-<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></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 %>