Fix #4359: Allow builders to move small (artist) tags manually.

Allow builders to approve artist alias BURs. The BUR must contain only
artist aliases or mass updates and each artist must have less than 100
posts.
This commit is contained in:
evazion
2020-05-11 00:20:21 -05:00
parent e3187e0bd0
commit d136a12a65
5 changed files with 60 additions and 4 deletions

View File

@@ -1,8 +1,6 @@
<%# bur %>
<% if policy(bur).approve? %>
<%= link_to "Approve", approve_bulk_update_request_path(bur), remote: true, method: :post, "data-confirm": "Are you sure you want to approve this bulk update request?" %> |
<% end %>
<%= link_to_if policy(bur).approve?, "Approve", approve_bulk_update_request_path(bur), remote: true, method: :post, "data-confirm": "Are you sure you want to approve this bulk update request?" %> |
<% if policy(bur).destroy? %>
<%= link_to "Reject", bur, remote: true, method: :delete, "data-confirm": "Are you sure you want to reject this bulk update request?" %> |
<% end %>