]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_inbox.html.erb
Remove border css class used by previous version of paginator
[rails.git] / app / views / layouts / _inbox.html.erb
index cdd708e1cb5a0508ca6981b148f53c1ae42c4e41..2f5a63753b0bb7e249e9786576915059aaf3813b 100644 (file)
@@ -1,3 +1,3 @@
-<% if @user.new_messages.size > 0 %>
-<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
+<% if current_user.new_messages.size > 0 %>
+<span id="inboxanchor" class="badge count-number m-1"><%= current_user.new_messages.size %></span>
 <% end %>