]> git.openstreetmap.org Git - rails.git/blob - app/views/messages/_inbox_count.html.erb
Fix messages heading update when message is deleted
[rails.git] / app / views / messages / _inbox_count.html.erb
1 <h4 id="inbox-count">
2 <%= t "messages.inbox.messages",
3       :new_messages => t("messages.inbox.new_messages",
4                          :count => current_user.new_messages.size),
5       :old_messages => t("messages.inbox.old_messages",
6                          :count => current_user.messages.size - current_user.new_messages.size) %>
7 </h4>