app/views/user_mailer/access_code.de.html.erb in muck-users-3.2.5 vs app/views/user_mailer/access_code.de.html.erb in muck-users-3.2.6
- old
+ new
@@ -1,3 +1,8 @@
-<p> <%= @message %> </p>
+<% signup = link_to(translate('muck.users.click_to_sign_up_now'), signup_url(:access_code => @code)) -%>
+<p> <%= @message.gsub('{signup_link}', signup).html_safe %> </p>
+ <% if !@code_included -%>
<p> Zugangscode: <%= @code %> </p>
-<p> <%= link_to translate('muck.users.click_to_sign_up_now'), signup_url(:access_code => @code) %> </p>
+ <% end -%>
+ <% if !@signup_link_included -%>
+<p> <%= signup.html_safe %> </p>
+ <% end -%>
\ No newline at end of file