]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/email_confirm.html.erb
Fix styling of email notifications in RTL languages
[rails.git] / app / views / notifier / email_confirm.html.erb
index 5c639d57fdf42a2222c00fc7aaebe28fdc96af8d..57359ef599bb506fe0b0041b99a31a90bd81bd5c 100644 (file)
@@ -1,9 +1,7 @@
-<% content_for :body do %>
-  <p style="margin: 0"><%= t 'notifier.email_confirm_html.greeting' %></p>
+<p><%= t "notifier.email_confirm_html.greeting" %></p>
 
-  <p><%= t 'notifier.email_confirm_html.hopefully_you', :server_url => SERVER_URL, :new_address => @address %></p>
+<p><%= t "notifier.email_confirm_html.hopefully_you", :server_url => Settings.server_url, :new_address => @address %></p>
 
-  <p><%= t 'notifier.email_confirm_html.click_the_link' %></p>
+<p><%= t "notifier.email_confirm_html.click_the_link" %></p>
 
-  <p><a href="<%= @url %>" style="white-space: nowrap"><%= @url %></a></p>
-<% end %>
+<p><a href="<%= @url %>"><%= @url %></a></p>