2016-06-24 09:30:46 +08:00
|
|
|
<%= stylesheet_link_tag 'css/courses' %>
|
2015-12-18 14:30:25 +08:00
|
|
|
<div class="resources">
|
2015-11-13 15:55:29 +08:00
|
|
|
<div class="project_r_h" style="width: 720px;">
|
|
|
|
<h2 class="project_h2"> 组织成员</h2>
|
|
|
|
</div>
|
|
|
|
<div class="st_list" style="width: 720px;">
|
|
|
|
<div class="st_box">
|
2015-11-16 15:39:59 +08:00
|
|
|
<span class="fr fb fontGrey3">加入时间</span>
|
2015-11-13 15:55:29 +08:00
|
|
|
<div class="cl"></div><!--st_box_top end-->
|
|
|
|
|
|
|
|
<% members.each do |member| %>
|
|
|
|
<div class="st_boxlist">
|
|
|
|
<a href="javascript:" 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>
|
2016-03-10 12:47:10 +08:00
|
|
|
<%= link_to(member.user.show_name, user_url_in_org(member.user_id),:class => "ml5 c_blue02") %><br />
|
2015-11-13 15:55:29 +08:00
|
|
|
<span class="fl c_grey ml10">身份:<%= member.user.admin_of_org?(organization)?"组织管理员":"组织成员" %></span>
|
2015-11-16 15:39:59 +08:00
|
|
|
<% if member.created_at %>
|
|
|
|
<span class="fr c_grey"><%= format_time(member.created_at) %></span>
|
|
|
|
<% end %>
|
2015-11-13 15:55:29 +08:00
|
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
|
|
<% end%>
|
|
|
|
|
|
|
|
<ul class="wlist">
|
|
|
|
<%#= pagination_links_full @obj_pages, @obj_count, :per_page_links => false, :remote => false, :flag => true%>
|
|
|
|
</ul>
|
|
|
|
<div class="cl"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-11-12 20:57:41 +08:00
|
|
|
</div>
|