Skip to content

Commit

Permalink
Merge pull request #1847 from mysociety/update-twitter-wording
Browse files Browse the repository at this point in the history
Update social call to actions
  • Loading branch information
gbp authored Mar 26, 2024
2 parents 58010c2 + 5af9968 commit 78795c9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/views/request/_request_sent.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<h2><%= _("Share your request") %></h2>

<%= link_to image_tag("next-step-twitter.png",
:alt => _("Tweet it"),
:alt => _("Share on X"),
:width => "120",
:height => "37"),
"https://twitter.com/intent/tweet?" << {
"https://twitter.com/intent/post?" << {
:url => request.url,
:via => AlaveteliConfiguration.twitter_username,
:text => "'#{ @info_request.title }'",
Expand Down
4 changes: 2 additions & 2 deletions lib/views/request/describe_notices/_successful.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
</p>
<% end %>
<%= link_to image_tag("next-step-twitter.png",
:alt => _("Tweet it"),
:alt => _("Share on X"),
:width => "120",
:height => "37"),
"https://twitter.com/intent/tweet?" << {
"https://twitter.com/intent/post?" << {
:url => request.url,
:via => AlaveteliConfiguration.twitter_username,
:text => "'#{ info_request.title }'",
Expand Down

0 comments on commit 78795c9

Please sign in to comment.