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

32 lines
914 B
Plaintext
Raw Normal View History

<% content_for :side_bar do %>
<%= render :partial => 'admin/users_new_interface/side_bar' %>
<% end %>
<%= render :partial => "js_and_css"%>
<div id="list-view">
<table id="member-list" class="table main-list">
<thead>
<tr class="sort-header">
<th class="gender"></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="4" style="text-align:center">Hooray! No pending registration approvals left.</td></tr>
<% end %>
</tbody>
</table>
</div>
<div class="bottomnav clearfix">
<div class="pagination pagination-centered">
<%= paginate @users, :params => {:inner => false} %>
</div>
</div>