]> cat aescling's git repositories - mastodon.git/commitdiff
Append confirmation link as plain text (#5146)
authorJeong Arm <kjwonmail@gmail.com>
Mon, 2 Oct 2017 05:21:46 +0000 (14:21 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 2 Oct 2017 05:21:46 +0000 (07:21 +0200)
* Append confirmation link as plain text

Some mail application is malfunctioning with links.

* Change description text

app/views/user_mailer/confirmation_instructions.en.html.erb

index f28a38be28cb2bddd58396dcf19aaddc9925bb1f..885c0b56a11d8b538e51261ab3fd72a3037dc41b 100644 (file)
@@ -2,11 +2,14 @@
 
 <p>You just created an account on <%= @instance %>.</p>
 
-<p>To confirm your inscription, please click on the following link : <br>
-<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %>
+<p>If the above link did not work, copy and paste this URL into your address bar: <br>
+<%= link_to 'Confirm my account', confirmation_url(@resource, confirmation_token: @token) %></p>
+
+<p>If above link not worked, Copy and paste this URL</p>
+<span><%= confirmation_url(@resource, confirmation_token: @token) %></span>
 
 <p>Please also check out our <%= link_to 'terms and conditions', terms_url %>.</p>
 
 <p>Sincerely,<p>
 
-<p>The <%= @instance %> team</p>
\ No newline at end of file
+<p>The <%= @instance %> team</p>