]> git.openstreetmap.org Git - rails.git/blob - app/views/layouts/_inbox.html.erb
Fix exception with GPX and RSS notes#index when no notes are found
[rails.git] / app / views / layouts / _inbox.html.erb
1 <%=
2   link_to(
3     t("layouts.inbox_html",
4       :count => @user.new_messages.size > 0 ?
5                 content_tag(
6                   :span, @user.new_messages.size, :class => "count-number"
7                 ) :
8                 ""
9     ),
10     inbox_path(:display_name => @user.display_name),
11     :id => "inboxanchor"
12   )
13 %>