Orbit/app/views/admin/authorizations/_user.html.erb

10 lines
436 B
Plaintext
Raw Normal View History

2013-08-19 10:54:35 +00:00
<li class="filter-item selected_user <%= 'check-item' unless user == current_user || user.admin %>" id="<%= user.id %>">
<label>
<%= image_tag (user.avatar? ? user.avatar.thumb : 'menber-pic.png'), :class => "user-pic" %>
<span class="user-name"><%= user.name %></span>
<span><%= get_user_module_role(user) %></span>
</label>
2013-08-19 10:54:35 +00:00
<% unless user == current_user || user.admin %>
<input type="checkbox">
<% end %>
</li>