added ai detection question to invite request form
This commit is contained in:
parent
1e3ee73118
commit
17af596c34
7 changed files with 12 additions and 12 deletions
|
|
@ -97,7 +97,7 @@ class TagsController < ApplicationController
|
|||
end
|
||||
@tag = @tag.merger if !@tag.canonical? && @tag.merger
|
||||
# Temp for testing
|
||||
if %w(Fandom Character Relationship).include?(@tag.type.to_s) || @tag.name == 'F/F'
|
||||
if %w(Category Fandom Character Relationship).include?(@tag.type.to_s) || @tag.name == 'NB/F'
|
||||
if @tag.canonical?
|
||||
@works = @tag.filtered_works.visible_to_all.order('created_at DESC').limit(25)
|
||||
else
|
||||
|
|
|
|||
|
|
@ -82,12 +82,12 @@ module WorksHelper
|
|||
reading && reading.toread?
|
||||
end
|
||||
|
||||
def mark_as_read_button(work)
|
||||
button_to t("works_helper.mark_as_read_button"), mark_as_read_work_path(work), method: :patch
|
||||
end
|
||||
def mark_as_read_link(work)
|
||||
link_to ts("Mark as Read"), mark_as_read_work_path(work)
|
||||
end
|
||||
|
||||
def mark_for_later_button(work)
|
||||
button_to t("works_helper.mark_for_later_button"), mark_for_later_work_path(work), method: :patch
|
||||
def mark_for_later_link(work)
|
||||
link_to ts("Mark for Later"), mark_for_later_work_path(work)
|
||||
end
|
||||
|
||||
def get_endnotes_link(work)
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@
|
|||
|
||||
<% if logged_in? && @work && marked_for_later?(@work) %>
|
||||
<li>
|
||||
<%= mark_as_read_button(@work) %>
|
||||
<%= mark_as_read_link(@work) %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ The invite queue may close sometimes.
|
|||
<p>
|
||||
<%= f.label :email %>
|
||||
<%= f.text_field :email %>
|
||||
<br><br> <p>Please put a little bit about you and a statement affirming you agree with anti harassment & anti-censorship ideals in the field below. Requests without at least something in this field will be deleted without warning.<br><br>
|
||||
<br><br> <p>Please put a little bit about you and a statement affirming you agree with anti harassment & anti-censorship ideals in the field below. <strong> NEW AS OF MARCH 30 2026: </strong> We have been getting a lot of AI invite requests. To make AI detection easier, you <strong>must</strong> include your favorite F/F, F/NB, or NB/NB ship or something along the lines of that in the request field below. Requests without at least something related to that in the field below will be deleted without warning. Sorry, blame whoever coded these bots.<br><br>
|
||||
</p> <%= f.label :note %>
|
||||
<%= f.text_area :note, size: "60x10" %>
|
||||
<%= f.submit t(".add_to_list") %>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
atom_feed do |feed|
|
||||
feed.title "AO3 works tagged '#{@tag.name}'"
|
||||
feed.title "Sunset works tagged '#{@tag.name}'"
|
||||
feed.updated @works.first.created_at if @works.respond_to?(:first) && @works.first.present?
|
||||
|
||||
@works.each do |work|
|
||||
|
|
|
|||
4
app/views/works/_work_header_navigation.html.erb
Executable file → Normal file
4
app/views/works/_work_header_navigation.html.erb
Executable file → Normal file
|
|
@ -58,9 +58,9 @@
|
|||
<% unless current_user.is_author_of?(@work) || current_user.try(:preference).try(:history_enabled) == false %>
|
||||
<li class="mark">
|
||||
<% if marked_for_later?(@work) %>
|
||||
<%= mark_as_read_button(@work) %>
|
||||
<%= mark_as_read_link(@work) %>
|
||||
<% else %>
|
||||
<%= mark_for_later_button(@work) %>
|
||||
<%= mark_for_later_link(@work) %>
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
<% if @tag && logged_in? && !@collection %>
|
||||
<li><%= render "favorite_tags/form", current_user: @current_user, favorite_tag: @favorite_tag %></li>
|
||||
<% end %>
|
||||
<% if @tag && !@collection && (%w(Fandom Character Relationship).include?(@tag.type.to_s) || @tag.name == "F/F") %>
|
||||
<% if @tag && !@collection && (%w(Fandom Category Character Relationship).include?(@tag.type.to_s) || @tag.name == "F/F") %>
|
||||
<li><%= link_to_rss feed_tag_path({ id: @tag.id, format: :atom }) %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
|
|
|||
Loading…
Reference in a new issue