[Admin] Add limit note to reowner & stuck dnp (#727)

This commit is contained in:
Donovan Daniels 2024-10-22 17:44:49 -05:00 committed by GitHub
parent b3d3fbc6a0
commit 645d0f0020
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 20 additions and 18 deletions

View File

@ -1,21 +1,16 @@
<div>
<h4>Change post ownership</h4>
<%= form_tag(admin_reowner_path, :method => :post, :class => "simple_form") do %>
<div class="input">
<label>Old Owner</label>
<%= text_field :reowner, :old_owner, placeholder: 'Use ! in front of an id for an id.', size: 40 %>
</div>
<div class="input">
<label>New Owner</label>
<%= text_field :reowner, :new_owner, placeholder: 'Use ! in front of an id for an id.', size: 40 %>
</div>
<div class="input">
<label>Search Query</label>
<%= text_field :reowner, :search, size: 40 %>
</div>
<div class="input">
<%= submit_tag "Submit" %>
</div>
<p>
Limited to 300 posts at a time.
</p>
<%= custom_form_for(:reowner, url: admin_reowner_path) do |f| %>
<%= f.input(:old_owner, label: "Old Owner", placeholder: "Use ! in front of an id for an id.", input_html: { size: 40 }) %>
<%= f.input(:new_owner, label: "New Owner", placeholder: "Use ! in front of an id for an id.", input_html: { size: 40 }) %>
<%= f.input(:search, label: "Search Query", input_html: { size: 40 }) %>
<%= f.submit("Submit") %>
<% end %>
</div>
<% content_for(:page_title) do %>
Post Reowner
<% end %>

View File

@ -2,7 +2,10 @@
<div id="a-new">
<h1>Remove stuck DNP tags</h1>
<p>
Use this to remove <%= link_to "avoid_posting", wiki_path(id: "avoid_posting") %> and <%= link_to "conditional_dnp", wiki_path(id: "conditional_dnp") %> from artists who got removed from the DNP list.
Use this to remove <%= link_to "avoid_posting", wiki_path(id: "avoid_posting") %> and <%= link_to "conditional_dnp", wiki_path(id: "conditional_dnp") %> from posts of artists who got removed from the DNP list.
</p>
<p>
Limit of 1,000 posts at a time.
</p>
<%= custom_form_for(:stuck_dnp, url: admin_stuck_dnp_path, method: :post) do |f| %>
<%= f.input :query %>
@ -10,3 +13,7 @@
<% end %>
</div>
</div>
<% content_for(:page_title) do %>
Stuck DNP
<% end %>