Remove all infrastructure around approving or rejecting user name changes. Name changes haven't been moderated for several years. * Remove status, approver_id, change_reason, and rejection_reason fields. * Remove approve and reject controller actions.
33 lines
892 B
Plaintext
33 lines
892 B
Plaintext
<div id="c-user-name-change-requests">
|
|
<div id="a-index">
|
|
<h1>Name Change Requests</h1>
|
|
|
|
<table class="striped" width="100%">
|
|
<thead>
|
|
<tr>
|
|
<th>User</th>
|
|
<th>Old Name</th>
|
|
<th>New Name</th>
|
|
<th>Date</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<% @change_requests.each do |change_request| %>
|
|
<tr>
|
|
<td><%= link_to_user change_request.user %></td>
|
|
<td><%= change_request.original_name %></td>
|
|
<td><%= change_request.desired_name %></td>
|
|
<td><%= compact_time change_request.created_at %></td>
|
|
<td><%= link_to "view", user_name_change_request_path(change_request) %></td>
|
|
</tr>
|
|
<% end %>
|
|
</tbody>
|
|
</table>
|
|
|
|
<%= numbered_paginator(@change_requests) %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|