Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix issue 3148 adding kbd tags to share instructions #716

Merged
merged 1 commit into from

2 participants

@sarken
Collaborator

The directions for sharing a work tell visitors to input something on their keyboards, but the input was not in kbd tags http://code.google.com/p/otwarchive/issues/detail?id=3148

Also added a mention of the Tweet link, since it's easy to overlook. The input instructions have been lowercased to match the instructions on the media index.

@CristinaRO CristinaRO merged commit d26eee6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jun 23, 2012
  1. @sarken
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/views/works/_work_header_navigation.html.erb
View
2  app/views/works/_work_header_navigation.html.erb
@@ -75,7 +75,7 @@
<li class="share">
<%= link_to_ibox ts("Share"), :for => "#share" %>
<div id="share" style="display: none;">
- <p><%= ts("Copy and paste to link back to this work: (CTRL/CMD-A will select all)") -%></p>
+ <p><%= ts("Copy and paste the following code to link back to this work (") %><kbd><%= ts("ctrl A")%></kbd><%= ts(" / ") %><kbd><%= ts("cmd A")%></kbd><%= ts(" will select all), or use the Tweet link to share the work on Twitter.") %></p>
<p><textarea rows="4" cols="50"><%= get_embed_link(@work) %></textarea></p>
<% if @work.users.all? {|u| u.preference.disable_share_links?} %>
<p><%= ts("The author has chosen to disable share buttons.") %></p>
Something went wrong with that request. Please try again.