解决组织中成员列表用户url为ID的问题
This commit is contained in:
parent
b633200ab6
commit
14178b0f8f
|
@ -10,11 +10,9 @@
|
||||||
|
|
||||||
<% members.each do |member| %>
|
<% members.each do |member| %>
|
||||||
<div class="st_boxlist">
|
<div class="st_boxlist">
|
||||||
<a href="javascript:" class="st_img">
|
<%= member.user.nil? ? '' : (link_to image_tag(url_to_avatar(member.user), :width => 32, :height => 32), user_path(member.user), :class => "st_img") %>
|
||||||
<%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 32, :height => 32)) %>
|
|
||||||
</a>
|
|
||||||
<span class="fl ml10 c_grey"><%= l(:label_username)%></span>
|
<span class="fl ml10 c_grey"><%= l(:label_username)%></span>
|
||||||
<%= link_to(member.user.show_name, user_url_in_org(member.user_id),:class => "ml5 c_blue02") %><br />
|
<%= link_to(member.user.show_name, user_url_in_org(member.user),:class => "ml5 c_blue02") %><br />
|
||||||
<span class="fl c_grey ml10">身份:<%= member.user.admin_of_org?(organization)?"组织管理员":"组织成员" %></span>
|
<span class="fl c_grey ml10">身份:<%= member.user.admin_of_org?(organization)?"组织管理员":"组织成员" %></span>
|
||||||
<% if member.created_at %>
|
<% if member.created_at %>
|
||||||
<span class="fr c_grey"><%= format_time(member.created_at) %></span>
|
<span class="fr c_grey"><%= format_time(member.created_at) %></span>
|
||||||
|
|
Loading…
Reference in New Issue