AO3-4573 Text and link change for Request Invite for Friends page #2461

Merged
merged 4 commits into from Jul 10, 2016

3 participants

@cjrecordvt cjrecordvt Update user_invite_requests_controller.rb
99bd855
@sarken sarken commented on an outdated diff May 21, 2016
app/controllers/user_invite_requests_controller.rb
@@ -21,7 +21,7 @@ def new
redirect_to login_path
end
else
- flash[:error] = ts("Sorry, new invitations are temporarily unavailable. If you are the mod of a challenge currently being run on the Archive, please <a href=\"#{new_feedback_report_url}\">contact Support</a>. If you are the maintainer of an at-risk archive, please contact <a href=\"http://opendoors.transformativeworks.org/contact/open doors\">Open Doors</a>".html_safe)
+ flash[:error] = ts("Sorry, additional invitations are unavailable. Please <a href=\"http://archiveofourown.org/invite_requests\">use the queue</a>! If you are the mod of a challenge currently being run on the Archive, please <a href=\"#{new_feedback_report_url}\">contact Support</a>. If you are the maintainer of an at-risk archive, please contact <a href=\"http://opendoors.transformativeworks.org/contact-open-doors/\">Open Doors</a>".html_safe)
@sarken
Organization for Transformative Works member
sarken added a note May 21, 2016

I think we want to do this as #{invite_requests_path} rather than hard code it in as the full URL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@cjrecordvt cjrecordvt Update user_invite_requests_controller.rb
Changing hard url to path
9d0ca14
@sarken sarken commented on an outdated diff May 27, 2016
app/controllers/user_invite_requests_controller.rb
@@ -21,7 +21,7 @@ def new
redirect_to login_path
end
else
- flash[:error] = ts("Sorry, new invitations are temporarily unavailable. If you are the mod of a challenge currently being run on the Archive, please <a href=\"#{new_feedback_report_url}\">contact Support</a>. If you are the maintainer of an at-risk archive, please contact <a href=\"http://opendoors.transformativeworks.org/contact/open doors\">Open Doors</a>".html_safe)
+ flash[:error] = ts("Sorry, additional invitations are unavailable. Please <a href=\"#{invite_requests_path}\">use the queue</a>! If you are the mod of a challenge currently being run on the Archive, please <a href=\"#{new_feedback_report_url}\">contact Support</a>. If you are the maintainer of an at-risk archive, please contact <a href=\"http://opendoors.transformativeworks.org/contact-open-doors/\">Open Doors</a>".html_safe)
@sarken
Organization for Transformative Works member
sarken added a note May 27, 2016

new_feedback_report_url should be _path as well, please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
cjrecordvt added some commits May 26, 2016
@cjrecordvt cjrecordvt _url -> _path
db25a32
@cjrecordvt cjrecordvt standardizing link text for accessibility
2d850e0
@sarken sarken changed the title from AO3-4573 Update user_invite_requests_controller.rb to AO3-4573 Text and link change for Request Invite for Friends page Jun 13, 2016
@sarken sarken merged commit e1eda31 into otwcode:master Jul 10, 2016

2 checks passed

Details continuous-integration/travis-ci/pr The Travis CI build passed
hound No violations found. Woof!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment