X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/05e212027339733cf39aa9b7536c3f5f69ba0962..441b92c3c33cf79c2bac977cf0b3cf2c3e7e010e:/app/views/message/inbox.html.erb?ds=sidebyside diff --git a/app/views/message/inbox.html.erb b/app/views/message/inbox.html.erb index 2a97b7bbd..897fb24ad 100644 --- a/app/views/message/inbox.html.erb +++ b/app/views/message/inbox.html.erb @@ -1,6 +1,6 @@
<%= t'message.inbox.you_have', :new_count => @user.new_messages.size, :old_count => (@user.messages.size - @user.new_messages.size) %>
+<%= render :partial => "message_count" %> <% if @user.messages.size > 0 %>