logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: d841af4e80e512921653f55bf545199f22a74b32
parent: 01d6aa0397290f93828713cdb40f261310cedb42
Author: Jeong Arm <kjwonmail@gmail.com>
Date:   Mon,  2 Oct 2017 14:21:46 +0900

Append confirmation link as plain text (#5146)

* Append confirmation link as plain text

Some mail application is malfunctioning with links.

* Change description text

Diffstat:

Mapp/views/user_mailer/confirmation_instructions.en.html.erb10++++++----
1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/app/views/user_mailer/confirmation_instructions.en.html.erb b/app/views/user_mailer/confirmation_instructions.en.html.erb @@ -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>