]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/copyright.html.erb
Don't escape anything in text/plain message notifications
[rails.git] / app / views / site / copyright.html.erb
index eaaf3f3661f4ff9ba8b4e068753f1ad382164ec6..c83cef99c255a76229f2dfe3b85b0920fa51021c 100644 (file)
@@ -1,4 +1,4 @@
-<p style="float: right">
+<p id="cc_logo">
   <%= link_to(
           image_tag("cc_button.png",
               :alt => t('layouts.license.alt'),
   <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %>
     <h2><%= t 'license_page.native.title' %></h2>
     <p>
-      <%= t 'license_page.native.text',
-              :native_link => link_to(t('license_page.native.native_link'),
-                                          :controller => 'site',
-                                          :action => 'copyright'),
-              :mapping_link => link_to(t('license_page.native.mapping_link'),
-                                          :controller => 'site',
-                                          :action => 'index') %>
+      <%= raw t 'license_page.native.text',
+                  :native_link => link_to(t('license_page.native.native_link'),
+                                              :controller => 'site',
+                                              :action => 'copyright'),
+                  :mapping_link => link_to(t('license_page.native.mapping_link'),
+                                              :controller => 'site',
+                                              :action => 'index') %>
     </p>
     <hr />
   <% end %>
 
-  <%= t('license_page.legal_babble', :locale => :en) %>
+  <%= raw t('license_page.legal_babble', :locale => :en) %>
 <% else %>
   <!-- Maybe note that this page has been translated -->
   <% if t('license_page.legal_babble') != t('license_page.legal_babble', :locale => :en) %>
     <h2><%= t 'license_page.foreign.title' %></h2>
     <p>
-      <%= t 'license_page.foreign.text',
-              :english_original_link => link_to(t('license_page.foreign.english_link'),
-                                                :controller => 'site',
-                                                :action => 'copyright',
-                                                :copyright_locale => 'en') %>
+      <%= raw t 'license_page.foreign.text',
+                  :english_original_link => link_to(t('license_page.foreign.english_link'),
+                                                        :controller => 'site',
+                                                        :action => 'copyright',
+                                                        :copyright_locale => 'en') %>
     </p>
     <hr />
   <% end %>
 
-  <%= t('license_page.legal_babble') %>
+  <%= raw t('license_page.legal_babble') %>
 <% end %>