-<%= link_to raw(t('layouts.inbox',
- :count => @user.new_messages.size > 0 ? "<span class='count-number'>#{@user.new_messages.size}</span>" : '')),
- {
- :action => 'inbox',
- :display_name => @user.display_name,
- :controller => 'message'
- }, { :id => 'inboxanchor' } %>
+<span id="inboxanchor" class="count-number"><%= @user.new_messages.size %></span>
\ No newline at end of file