]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/message/inbox.html.erb
Fixup tests for changes to multi-editor functionality
[rails.git] / app / views / message / inbox.html.erb
index 2a97b7bbd2d1f9d6ea782a61a646d7e4417b66da..897fb24adc14c9bbed07951c48d3a22024006c83 100644 (file)
@@ -1,6 +1,6 @@
 <h2><%= t'message.inbox.my_inbox'%>/<%= link_to t('message.inbox.outbox'), url_for(:controller => "user", :action => "outbox", :id => @user.display_name) %></h2>
 
-<p><%= t'message.inbox.you_have', :new_count => @user.new_messages.size, :old_count => (@user.messages.size -  @user.new_messages.size) %></p> 
+<%= render :partial => "message_count" %>
 
 <% if @user.messages.size > 0 %>
   <div id="messages">