Skip to content

Commit

Permalink
Update social call to actions
Browse files Browse the repository at this point in the history
Replace Twitter with X and related wording.
  • Loading branch information
gbp committed Mar 26, 2024
1 parent 1ffe088 commit 5af9968
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 5af9968

Please sign in to comment.