修改点击图片跳转错误的bug
This commit is contained in:
parent
85a23c468e
commit
2694611eed
|
@ -98,7 +98,7 @@
|
||||||
<% for user in @users -%>
|
<% for user in @users -%>
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<%= content_tag "p", "#{format_date(user.created_on)}#{l(:label_member_since)}", :class => "float_right member_since" %>
|
<%= 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'), :class => "avatar") : (link_to image_tag("/images/12_50.png", :class => 'avatar'), :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") %>
|
||||||
<%= content_tag "div", link_to_user(user), :class => "nomargin avatar_name" %>
|
<%= content_tag "div", link_to_user(user), :class => "nomargin avatar_name" %>
|
||||||
<%= content_tag "div", content_tag("p", user.firstname), :class => "clear avatar_name" %>
|
<%= content_tag "div", content_tag("p", user.firstname), :class => "clear avatar_name" %>
|
||||||
<p>
|
<p>
|
||||||
|
|
Loading…
Reference in New Issue