Specify width and height for image
[rails.git] / app / views / layouts / _inbox.html.erb
index fcaa5ae648031e971543f029fb852a06aa671d54..787dd8bfc496bdc4d814316ea8cb1d757a5d9dac 100644 (file)
@@ -1,13 +1,3 @@
-<%=
-  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"
-  )
-%>
+<span id="inboxanchor" class="count-number">
+  <img src='<%= user_image_url(@user, :size => 20) %>' width='20' height='20'><span><%= @user.new_messages.size %></span>
+</span>
\ No newline at end of file