orbit-basic/app/views/admin/users_new_interface/registration_approval.html.erb

39 lines
1.4 KiB
Plaintext

<% content_for :side_bar do %>
<%= render :partial => 'admin/users_new_interface/side_bar' %>
<% end %>
<%= render :partial => "js_and_css"%>
<%= javascript_include_tag "lib/member/registration_approval" %>
<div id="list-view">
<table id="member-list" class="table main-list">
<thead>
<tr class="sort-header">
<th class="gender"></th>
<th class="span2"><input type="checkbox" id="select_all_registration" style="margin:0;" /> Select All</th>
<th class="span3"><a href="#">Roles</a></th>
<th class="span4"><a href="#">Name</a></th>
<th><a href="#">Email</a></th>
</tr>
</thead>
<tbody>
<% if !@users.blank? %>
<%= render :partial => "not_approved_listing",:collection=> @users %>
<% else %>
<tr><td colspan="5" style="text-align:center">Hooray! No pending registration approvals left.</td></tr>
<% end %>
</tbody>
</table>
</div>
<div class="bottomnav clearfix">
<div class="action pull-right">
<% if !@users.blank? %>
<a href="<%= admin_users_new_interface_delete_selected_path %>" class="btn btn-danger selected-actions hide" >Delete Selected</a>
<a href="<%= admin_users_new_interface_approve_selected_path %>" class="btn btn-primary selected-actions hide">Approve Selected</a>
<% end -%>
</div>
<div class="pagination pagination-centered">
<%= paginate @users, :params => {:inner => false} %>
</div>
</div>