2013-07-30 16:01:48 +00:00
|
|
|
<li class="filter-item selected_user <%= 'check-item' unless user == current_user || is_admin? %>" id="<%= user.id %>">
|
2013-07-02 08:46:44 +00:00
|
|
|
<label>
|
|
|
|
<%= image_tag (user.avatar? ? user.avatar.thumb : 'menber-pic.png'), :class => "user-pic" %>
|
|
|
|
<span class="user-name"><%= user.name %></span>
|
2013-07-30 16:01:48 +00:00
|
|
|
<span><%= get_user_module_role(user) %></span>
|
2013-07-02 08:46:44 +00:00
|
|
|
</label>
|
2013-07-30 16:01:48 +00:00
|
|
|
<% unless user == current_user || is_admin? %>
|
|
|
|
<input type="checkbox">
|
|
|
|
<% end %>
|
2013-07-02 08:46:44 +00:00
|
|
|
</li>
|