From 14178b0f8f06c97cb2d54855887113ab05d61255 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 11 Nov 2016 13:33:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=BB=84=E7=BB=87=E4=B8=AD?= =?UTF-8?q?=E6=88=90=E5=91=98=E5=88=97=E8=A1=A8=E7=94=A8=E6=88=B7url?= =?UTF-8?q?=E4=B8=BAID=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/organizations/_org_members.html.erb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/organizations/_org_members.html.erb b/app/views/organizations/_org_members.html.erb index 343466362..18bbb94bb 100644 --- a/app/views/organizations/_org_members.html.erb +++ b/app/views/organizations/_org_members.html.erb @@ -10,11 +10,9 @@ <% members.each do |member| %>
- - <%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :width => 32, :height => 32)) %> - + <%= member.user.nil? ? '' : (link_to image_tag(url_to_avatar(member.user), :width => 32, :height => 32), user_path(member.user), :class => "st_img") %> <%= l(:label_username)%> - <%= link_to(member.user.show_name, user_url_in_org(member.user_id),:class => "ml5 c_blue02") %>
+ <%= link_to(member.user.show_name, user_url_in_org(member.user),:class => "ml5 c_blue02") %>
身份:<%= member.user.admin_of_org?(organization)?"组织管理员":"组织成员" %> <% if member.created_at %> <%= format_time(member.created_at) %>