Skip to content

Commit

Permalink
AO3-6560 Add Tumblr links to error pages (#4583)
Browse files Browse the repository at this point in the history
* AO3-6560 Add hyperlinks to Tumblr and updated test support form references

* AO3-6560 Fix typo in tumblr link

* AO3-6560 Removing unnecessary test text changes

* Delete .gitkeep

* AO3-6560 Run i18n tasks to clear up test failures
  • Loading branch information
scottsds authored Jul 19, 2023
1 parent d997475 commit f09c964
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/views/feedbacks/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<% else %>
<h3 class="heading"><%= t(".heading.instructions") %></h3>
<div class="userstuff">
<p><%= t(".status.current", twitter_link: link_to(t(".status.twitter"), "https://twitter.com/AO3_Status")).html_safe %></p>
<p><%= t(".status.current", twitter_link: link_to(t(".status.twitter"), "https://twitter.com/AO3_Status"), tumblr_link: link_to(t(".status.tumblr"), "https://ao3org.tumblr.com")).html_safe %></p>
<p><%= t(".abuse.reports", contact_link: link_to(t(".abuse.contact"), new_abuse_report_path)).html_safe %></p>
<p><%= t(".reportable.intro") %></p>
<ul>
Expand Down
5 changes: 3 additions & 2 deletions config/locales/views/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,9 @@ en:
tag_changes: Requests to canonize or change tags
work_problems: Works labeled with the wrong language or duplicate works
status:
current: 'For current updates on Archive performance or downtime, please check out our Twitter feed: %{twitter_link}.'
twitter: "@AO3_Status"
current: For current updates on Archive performance or downtime, please check the %{twitter_link} or %{tumblr_link}.
tumblr: ao3org Tumblr
twitter: "@AO3_Status Twitter feed"
home:
donate:
page_title: Donate or Volunteer
Expand Down
2 changes: 1 addition & 1 deletion public/502.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h2 class="heading">Error 502</h2>
<h3 class="heading">The page was responding too slowly.</h3>
<!--plain english suggestion: There are so many people using the archive right now, we can't show your page. -->
<p>We're experiencing heavy load. The problem should be temporary; try refreshing the page.</p>
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter for updates if this keeps happening.</p>
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter or <a href="https://ao3org.tumblr.com">ao3org</a> on Tumblr for updates if this keeps happening.</p>
</div>
<!-- END main -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/503.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3 class="landmark heading">Site Navigation</h3>
<h2 class="heading">Error 503</h2>
<h3 class="heading">The page was responding too slowly.</h3>
<!--plain english suggestion: There are so many people using the archive right now, we can't show your page. -->
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter for updates if this keeps happening.</p>
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter or <a href="https://ao3org.tumblr.com">ao3org</a> on Tumblr for updates if this keeps happening.</p>
</div>
<!-- END main -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/507.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h3 class="landmark heading">Site Navigation</h3>
<h2 class="heading">Error 507</h2>
<h3 class="heading">Exceeded maximum posting rate.</h3>
<p>To combat bots, we are currently banning IP addresses that post too many works in a short time period. If you see this page repeatedly please pause a while between posting works. If you are banned, you will be unable to access the Archive. Access will be restored 24 hours after the ban started.</p>
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter for updates.</p>
<p>Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter or <a href="https://ao3org.tumblr.com">ao3org</a> on Tumblr for updates.</p>
</div>
<!-- END main -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/nomaintenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3 class="landmark heading">Site Navigation</h3>
<div id="main" class="system errors error-503-maintenance region">
<h2 class="heading">Error 503 - Service unavailable</h2>
<h3 class="heading">The Archive is down for maintenance.</h3>
<p>If <a href="https://twitter.com/ao3_status/">@AO3_Status</a> says the site is up, but you still see this page, try <a href="https://kb.iu.edu/data/ahic.html">clearing your browser cache</a> and refreshing the page.</p>
<p>If <a href="https://twitter.com/ao3_status/">@AO3_Status</a> and <a href="https://ao3org.tumblr.com">ao3org</a> say the site is up, but you still see this page, try <a href="https://kb.iu.edu/data/ahic.html">clearing your browser cache</a> and refreshing the page.</p>
</div>
<!-- END main -->
</div>
Expand Down
2 changes: 1 addition & 1 deletion public/status/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ <h4 class="heading">Development</h4>
$j("#tabs").tabs({
beforeLoad: function(event, ui){
ui.jqXHR.error(function(){
ui.panel.html("We are having issues loading this page." + 'Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter for updates.');
ui.panel.html("We are having issues loading this page." + 'Follow <a href="https://twitter.com/ao3_status/">@AO3_Status</a> on Twitter or <a href="https://ao3org.tumblr.com">ao3org</a> on Tumblr for updates.');
});
}
});
Expand Down

0 comments on commit f09c964

Please sign in to comment.