]> git.openstreetmap.org Git - rails.git/blob - app/views/messages/_message_count.html.erb
Refactor message creation to use a create action
[rails.git] / app / views / messages / _message_count.html.erb
1 <p 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 %>
8 </p>