adds alternative text for share on WhatsApp links

This commit is contained in:
Alberto Garcia Cabeza
2017-03-06 13:15:12 +01:00
parent ff4c72aaae
commit 580ed6e4c6
6 changed files with 6 additions and 0 deletions

View File

@@ -55,6 +55,7 @@
<% if browser.device.mobile? %>
<a href="whatsapp://send?text=<%= @debate.title %> <%= debate_url(@debate) %>" data-action="share/whatsapp/share">
<span class="icon-whatsapp whatsapp"></span>
<span class="sr-only"><%= t("social_share_button.whatsapp") %></span>
</a>
<% end %>
</div>