]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/suspended.html.erb
Use a current_user helper for accessing the logged in user in all views.
[rails.git] / app / views / user / suspended.html.erb
index 27b8dc3f5c46ab3afbd5458c1965db1f7d29f7ae..22d85e166144933e903bf70d2bd6ee0abb88f911 100644 (file)
@@ -1,5 +1,7 @@
 <% @title = t "user.suspended.title" %>
 
-<h1><%= t "user.suspended.heading" %></h1>
+<% content_for :heading do %>
+  <h1><%= t "user.suspended.heading" %></h1>
+<% end %>
 
-<%= t "user.suspended.body", :webmaster => "webmaster@openstreetmap.org" %>
+<%= raw t "user.suspended.body", :webmaster => link_to(t("user.suspended.webmaster"), "mailto:#{SUPPORT_EMAIL}") %>