2013-11-29 08:20:23 +00:00
|
|
|
<% content_for :side_bar do %>
|
|
|
|
<%= render :partial => 'admin/users_new_interface/side_bar' %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<%= render :partial => "js_and_css"%>
|
2013-12-05 09:09:03 +00:00
|
|
|
<%= javascript_include_tag "lib/member/registration_approval" %>
|
2013-11-29 08:20:23 +00:00
|
|
|
<div id="list-view">
|
|
|
|
<table id="member-list" class="table main-list">
|
|
|
|
<thead>
|
|
|
|
<tr class="sort-header">
|
|
|
|
<th class="gender"></th>
|
2013-12-27 07:49:21 +00:00
|
|
|
<th class="span2"><input type="checkbox" id="select_all_registration" style="margin:0;" /> <%= t('select_all') %></th>
|
|
|
|
<th class="span3"><a href="#"><%= t('roles') %></a></th>
|
|
|
|
<th class="span4"><a href="#"><%= t('name') %></a></th>
|
|
|
|
<th><a href="#"><%= t('email') %></a></th>
|
2013-11-29 08:20:23 +00:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<% if !@users.blank? %>
|
|
|
|
<%= render :partial => "not_approved_listing",:collection=> @users %>
|
|
|
|
<% else %>
|
2013-12-05 09:09:03 +00:00
|
|
|
<tr><td colspan="5" style="text-align:center">Hooray! No pending registration approvals left.</td></tr>
|
2013-11-29 08:20:23 +00:00
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<div class="bottomnav clearfix">
|
2013-12-05 09:09:03 +00:00
|
|
|
<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>
|
2013-11-29 08:20:23 +00:00
|
|
|
<div class="pagination pagination-centered">
|
|
|
|
<%= paginate @users, :params => {:inner => false} %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|