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.
35 lines
912 B
Plaintext
35 lines
912 B
Plaintext
<div id="c-user-name-change-requests">
|
|
<div id="a-show">
|
|
<h1>Name Change Request</h1>
|
|
|
|
<table class="aligned-vertical">
|
|
<tbody>
|
|
<tr>
|
|
<th>Date</th>
|
|
<td>
|
|
<%= compact_time @change_request.created_at %>
|
|
<%= render "application/update_notice", record: @change_request %>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<th>User</th>
|
|
<td><%= link_to_user @change_request.user %></td>
|
|
</tr>
|
|
<tr>
|
|
<th>Request</th>
|
|
<td>
|
|
<strong><%= @change_request.original_name %></strong> ->
|
|
<strong><%= @change_request.desired_name %></strong>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
User Name Change Request - <%= @change_request.user.name %> - <%= Danbooru.config.app_name %>
|
|
<% end %>
|