##// END OF EJS Templates
Replace auto_link with link_to in email templates....
Jean-Philippe Lang -
r8864:7ad40e22feb8
parent child
Show More
@@ -1,11 +1,11
1 1 <% if @user.auth_source %>
2 2 <p><%= l(:mail_body_account_information_external, h(@user.auth_source.name)) %></p>
3 3 <% else %>
4 4 <p><%= l(:mail_body_account_information) %>:</p>
5 5 <ul>
6 6 <li><%= l(:field_login) %>: <%=h @user.login %></li>
7 7 <li><%= l(:field_password) %>: <%=h @password %></li>
8 8 </ul>
9 9 <% end %>
10 10
11 <p><%= l(:label_login) %>: <%= auto_link(@login_url).html_safe %></p>
11 <p><%= l(:label_login) %>: <%= link_to h(@login_url), @login_url %></p>
@@ -1,4 +1,4
1 1 <p><%= l(:mail_body_lost_password) %><br />
2 <%= auto_link(@url).html_safe %></p>
2 <%= link_to h(@url), @url %></p>
3 3
4 4 <p><%= l(:field_login) %>: <b><%=h @token.user.login %></b></p>
@@ -1,2 +1,2
1 1 <p><%= l(:mail_body_register) %><br />
2 <%= auto_link(@url).html_safe %></p>
2 <%= link_to h(@url), @url %></p>
@@ -1,2 +1,2
1 1 <p>This is a test email sent by Redmine.<br />
2 Redmine URL: <%= auto_link(@url).html_safe %></p>
2 Redmine URL: <%= link_to h(@url), @url %></p>
General Comments 0
You need to be logged in to leave comments. Login now