]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_inbox.html.erb
Add support for viewing a list of your friends' changesets
[rails.git] / app / views / layouts / _inbox.html.erb
1 <%
2 inbox_attributes = {}
3 inbox_attributes[:id] = "inboxanchor"
4 inbox_attributes[:class] = 'greeting-bar-unread' if @user.new_messages.size > 0
5 inbox_attributes[:title] = t 'layouts.inbox_tooltip', :count => @user.new_messages.size
6 %>
7 <%= link_to t('layouts.inbox', :count => @user.new_messages.size), {:controller => 'message', :action => 'inbox', :display_name => @user.display_name}, inbox_attributes %>