<%= stylesheet_link_tag  'courses' %>
<div class="resources">
    <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">
        <span class="fr fb fontGrey3">加入时间</span>
        <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>
              <%= link_to(member.user.show_name, user_url_in_org(member.user_id),:class => "ml5 c_blue02") %><br />
              <span class="fl c_grey ml10">身份：<%= member.user.admin_of_org?(organization)?"组织管理员":"组织成员" %></span>
              <% if member.created_at %>
                 <span class="fr c_grey"><%= format_time(member.created_at) %></span>
              <% end %>
            </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>
</div>