Use mail_to help to avoid handcrafting mailto links
This also reworks the user suspended page to avoid having html in the translation strings.
This commit is contained in:
parent
023fd29d71
commit
a11e156f56
3 changed files with 8 additions and 12 deletions
|
@ -8,5 +8,5 @@
|
|||
|
||||
<div class="message">
|
||||
<h1><%= t "users.new.no_auto_account_create" %></h1>
|
||||
<h2><%= t "users.new.contact_support_html", :support => "mailto:#{Settings.support_email}" %></h2>
|
||||
<h2><%= t "users.new.please_contact_support_html", :support_link => mail_to(Settings.support_email, t("users.new.support")) %></h2>
|
||||
</div>
|
||||
|
|
|
@ -4,4 +4,5 @@
|
|||
<h1><%= t ".heading" %></h1>
|
||||
<% end %>
|
||||
|
||||
<%= t ".body_html", :webmaster => link_to(t(".support"), "mailto:#{Settings.support_email}") %>
|
||||
<p><%= t ".automatically_suspended" %></p>
|
||||
<p><%= t ".contact_support_html", :support_link => mail_to(Settings.support_email, t(".support")) %></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue