From 5af996866f14fe3c7eab133fc5e16b45aea3a232 Mon Sep 17 00:00:00 2001 From: Graeme Porteous Date: Tue, 26 Mar 2024 10:58:14 +0000 Subject: [PATCH] Update social call to actions Replace Twitter with X and related wording. --- lib/views/request/_request_sent.html.erb | 4 ++-- lib/views/request/describe_notices/_successful.html.erb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/views/request/_request_sent.html.erb b/lib/views/request/_request_sent.html.erb index eb6480e4..0e24a3d8 100644 --- a/lib/views/request/_request_sent.html.erb +++ b/lib/views/request/_request_sent.html.erb @@ -17,10 +17,10 @@

<%= _("Share your request") %>

<%= 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 }'", diff --git a/lib/views/request/describe_notices/_successful.html.erb b/lib/views/request/describe_notices/_successful.html.erb index c05493f1..532c3cf9 100644 --- a/lib/views/request/describe_notices/_successful.html.erb +++ b/lib/views/request/describe_notices/_successful.html.erb @@ -14,10 +14,10 @@

<% 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 }'",