用户头像显示方式修改
This commit is contained in:
parent
94504431fb
commit
fb44fb5815
|
@ -98,7 +98,8 @@
|
|||
<% for user in @users -%>
|
||||
<div class="well">
|
||||
<%= content_tag "p", "#{format_date(user.created_on)}#{l(:label_member_since)}", :class => "float_right member_since" %>
|
||||
<%= get_avatar?(user) ? (link_to image_tag(avatar_image(user), :class => 'avatar'), user_path(user), :class => "avatar") : (link_to image_tag("/images/12_50.png", :class => 'avatar'), user_path(user), :class => "avatar") %>
|
||||
<!-- <%= get_avatar?(user) ? (link_to image_tag(avatar_image(user), :class => 'avatar'), user_path(user), :class => "avatar") : (link_to image_tag("/images/12_50.png", :class => 'avatar'), user_path(user), :class => "avatar") %> -->
|
||||
<%= link_to image_tag(url_to_avatar(user), :class => 'avatar'), user_path(user) %>
|
||||
<%= content_tag "div", link_to_user(user), :class => "nomargin avatar_name" %>
|
||||
<%= content_tag "div", content_tag("p", user.firstname), :class => "clear avatar_name" %>
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue