-<%=
- link_to(
- t("layouts.inbox_html",
- :count => @user.new_messages.size > 0 ?
- content_tag(
- :span, @user.new_messages.size, :class => "count-number"
- ) :
- ""
- ),
- inbox_path(:display_name => @user.display_name),
- :id => "inboxanchor"
- )
-%>
+<% if @user.new_messages.size > 0 %>
+<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
+<% end %>