]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/messages/outbox.html.erb
Merge remote-tracking branch 'upstream/pull/5349'
[rails.git] / app / views / messages / outbox.html.erb
index 096427e8d4534ab507135169cefb77461a647a7b..5cb357f6fa19c899e88eb4970ca7caeb0844816e 100644 (file)
@@ -4,7 +4,7 @@
 
 <%= render :partial => "heading", :locals => { :active_link_path => outbox_messages_path } %>
 
-<%= render :partial => "outbox_count" %>
+<h4><%= t ".messages", :count => current_user.sent_messages.size %></h4>
 
 <% if current_user.sent_messages.size > 0 %>
   <%= render :partial => "messages_table", :locals => { :columns => %w[to subject date], :messages => current_user.sent_messages, :inner_partial => "sent_message_summary" } %>