Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/controllers/help_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class HelpController < ApplicationController
privacy_moderated_commenting
privacy_restricted_commenting
privacy_restricted_work
prompt_restriction_tag_set_gift_exchange
prompt_restriction_tag_set_prompt_meme
rte
skins_basics
skins_creating
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<h4><%= t(".page_heading") %></h4>

<p><%= t(".limit_tags") %></p>

<p><%= t(".use_only_html", negation_bold: tag.strong(t(".negation"))) %></p>

<p><%= t(".request_offers_same_set") %></p>

<p><%= t(".other_tag_types") %></p>
16 changes: 16 additions & 0 deletions app/views/help/prompt_restriction_tag_set_prompt_meme.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<h4><%= t(".page_heading") %></h4>

<p><%= t(".limit_tags_html",
tags_link: link_to(t(".tags"), archive_faq_path("glossary", anchor: "tagdef")),
tag_set_link: link_to(t(".tag_set"), archive_faq_path("glossary", anchor: "tagsetdef")),
prompt_meme_link: link_to(t(".prompt_meme"), archive_faq_path("glossary", anchor: "promptmemedef"))) %></p>

<p><%= t(".use_only") %></p>

<p><%= t(".request_offers_same_set") %></p>

<p><%= t(".other_tag_types") %></p>

<p><%= t(".more_information_html",
tag_options_link: link_to(t(".tag_options"), archive_faq_path("tutorial-running-a-prompt-meme-on-ao3", anchor: "prompttagopt")),
tutorial_prompt_meme_link: link_to(t(".tutorial_prompt_meme"), archive_faq_path("tutorial-running-a-prompt-meme-on-ao3"))) %></p>
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ is verbose-->

<% if show_tag_options %>
<fieldset>
<legend><%= ts("Tag Options") %></legend>
<h3 class="landmark"><%= ts("Tag Options") %> <%= link_to_help("prompt-restriction-tag-set" + (type == "gift_exchange" ? "" : "-promptmeme")) %> </h3>
<legend><%= t(".tag_options.legend") %> <%= link_to_help_modal(type == "gift_exchange" ? help_prompt_restriction_tag_set_gift_exchange_path : help_prompt_restriction_tag_set_prompt_meme_path, t(".tag_options.#{type}_help_title")) %></legend>
<h3 class="landmark"><%= t(".tag_options.landmark") %></h3>
<p class="note">
<%= link_to(ts("Tag sets"), tag_sets_path) %> <%= ts("show what tags can be used in
your challenge. You can make your own or use any public tag set. Beware: owners can change the contents of their public tag set without warning.") %>
Expand Down
26 changes: 26 additions & 0 deletions config/locales/views/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1466,6 +1466,25 @@ en:
privacy_restricted_work:
description: A registered user is a person with an Archive account. If you check this box your story can only be viewed by a person who is logged in.
page_heading: Registered Users
prompt_restriction_tag_set_gift_exchange:
limit_tags: If you want to limit the tags that users can choose from when signing up, you can either use an existing tag set or make one of your own, or a combination. Once you have the tag sets you want to use ready, you can add them to your challenge here.
negation: NOT
other_tag_types: You do NOT have to specify tags for every kind of tag you have allowed. For instance, you can put in five specific fandoms, and also allow one character tag without putting in tag options. Then the person signing up will have to choose one of the five fandoms, but can just type in a character tag.
page_heading: Tag Options
request_offers_same_set: The same group of tag sets is used for both requests and offers, since otherwise offers and requests can't match against each other. (People can choose different tags in their requests and offers, but they have to choose from the same set.)
use_only_html: 'Note: if you are running a challenge that is specifically for one given fandom or relationship or character, you do %{negation_bold} need to use tag sets -- just set that kind of tag to 0 tags required/allowed above. Tag options should only be used where you want users to have a choice.'
prompt_restriction_tag_set_prompt_meme:
limit_tags_html: If you want to limit the %{tags_link} that users can choose from when signing up, you can either use an existing %{tag_set_link}, make one of your own, or use a combination of the two. Once you have the tag sets you want to use ready, you can add them to your %{prompt_meme_link}.
more_information_html: For more information on character and relationship tag settings, refer to the %{tag_options_link} section of %{tutorial_prompt_meme_link}.
other_tag_types: You don't have to specify tags for every kind of tag you have allowed. For instance, if you only add fandom tags to your tag set, participants will be able to choose any canonical character or relationship within those fandoms while signing up.
page_heading: Tag Options
prompt_meme: Prompt Meme
request_offers_same_set: The same group of tag sets is used for both requests and offers, since otherwise offers and requests can't match against each other. People can choose different tags in their requests and offers, but they have to choose from the same set.
tag_options: Tag Options
tag_set: tag set
tags: tags
tutorial_prompt_meme: 'Tutorial: Running a Prompt Meme on AO3'
use_only: Tag sets should only be used where you want users to have a choice. If you're running a Prompt Meme for a specific relationship or character, set that kind of tag to 0 tags required/allowed instead.
rte:
description_html: 'The exact behavior of the Rich Text Editor (%{rte_abbreviation}) depends on your device, browser, and operating system as well as the source you''re pasting from. However, starting with a well-formatted document will help you get the most out of the %{rte_abbreviation_no_title}. Here are some general tips to ensure that as much of your formatting as possible will be retained:'
enter_once:
Expand Down Expand Up @@ -2838,6 +2857,13 @@ en:
edit_my_pseuds: Manage My Pseuds
edit_my_works: Edit My Works
edit_profile: Edit Profile
prompt_restrictions:
prompt_restriction_form:
tag_options:
gift_exchange_help_title: Prompt restriction tag set gift exchange
landmark: Tag Options
legend: Tag Options
prompt_meme_help_title: Prompt restriction tag set prompt meme
prompts:
prompt_form:
title_requirements: Up to %{maximum} characters, cannot begin with =, +, -, @ or a whitespace character.
Expand Down
1 change: 1 addition & 0 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@
get "/help/comments-moderated.html", to: redirect("/help/privacy_moderated_commenting")
get "/help/who-can-comment-on-this-work.html", to: redirect("/help/privacy_restricted_commenting")
get "/help/registered-users.html", to: redirect("/help/privacy_restricted_work")
get "/help/prompt-restriction-tag-set.html", to: redirect("/help/prompt_restriction_tag_set_gift_exchange")
get "/help/rte-help.html", to: redirect("/help/rte")
get "/help/skins-basics.html", to: redirect("/help/skins_basics")
get "/help/skins-creating.html", to: redirect("/help/skins_creating")
Expand Down
26 changes: 0 additions & 26 deletions public/help/prompt-restriction-tag-set.html

This file was deleted.

Loading