  <li id="<%= dom_id user_for_summary %>">
    <div class="member-avatar">
      <% 
        if user_for_summary.sex == 'male'
          @user_sex = 'gender-man'
        elsif user_for_summary.sex == 'female'
          @user_sex = 'gender-woman'
        else
          @user_sex = 'gender-none'
        end
      %>    
      <p class="<%= @user_sex%>"></p>
      <div class="action">
        <%= link_to(content_tag(:i, nil, :class => 'icon-edit'),edit_admin_users_new_interface_path(user_for_summary),:class=>"edit" ) if is_admin?%>
        <%= link_to(content_tag(:i, nil, :class => 'icon-key'),admin_users_new_interface_edit_privilege_path(user_for_summary),:class=>"key" ) if is_admin? and current_user.id != user_for_summary.id %>
        <%= link_to(content_tag(:i, nil, :class => 'icon-trash'), admin_users_new_interface_path(user_for_summary, :at=>params[:at]), :confirm => t(:sure?), :method => :delete, :class=>"trash", :remote => true) if is_admin? %>
      </div>
      <%= image_tag(user_for_summary.avatar) %>
    </div>
    <div class="member-info">
      <h4 class="member-name"><%= link_to (user_for_summary.name && user_for_summary.name != user_for_summary.email  ? user_for_summary.name : user_for_summary.user_id),admin_users_new_interface_path(user_for_summary)%></h4>
      <div class="member-mail muted"><%= user_for_summary.email%></div>
      <hr>
      <ul class="member-roles">
        <% user_for_summary.roles.each do |rf| %>
          <li>
            <span class="label label-info"><%= rf.title %></span>
            <span class="member-staturs muted"><i class="icon-angle-right"></i> 
              <%= User.get_member_list_attribute_value(user_for_summary.id, rf.key, "job_title").get_value_by_locale(I18n.locale) rescue '' %>
              <%= show_attribute_value(user_for_summary.role_statuses.where(:role_id=>rf.id).map{|t|t.title.to_s}.join(',')) rescue '' %>
            </span>
          </li>
        <% end %>
      </ul>
    </div>
  </li>


