]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/copyright.html.erb
Fix issue where iD would not take the full height of its iframe
[rails.git] / app / views / site / copyright.html.erb
index feec81c82172053f7921bbd8d537772c58647d1d..a8506e902c7d4452296cba781f9ddb9013ab658b 100644 (file)
@@ -3,32 +3,32 @@
   <!-- Maybe ease foreigners back to their native page -->
 
     <% if t(".legal_babble", :locale => I18n.locale) != t(".legal_babble", :locale => :en) %>
-      <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
+      <%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
         <h1><%= t ".native.title" %></h1>
         <p>
-          <%= raw t ".native.text",
-                    :native_link => link_to(t(".native.native_link"),
-                                            :controller => "site",
-                                            :action => "copyright",
-                                            :copyright_locale => nil),
-                    :mapping_link => link_to(t(".native.mapping_link"),
-                                             :controller => "site",
-                                             :action => "index") %>
+          <%= t ".native.html",
+                :native_link => link_to(t(".native.native_link"),
+                                        :controller => "site",
+                                        :action => "copyright",
+                                        :copyright_locale => nil),
+                :mapping_link => link_to(t(".native.mapping_link"),
+                                         :controller => "site",
+                                         :action => "index") %>
         </p>
       <% end %>
       <hr />
     <% end %>
   <% else %>
     <!-- Maybe note that this page has been translated -->
-    <%= tag.div :lang => "en", :dir => t("html.dir", :locale => "en") do %>
-      <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
+    <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
+      <%= tag.div :lang => "en", :dir => t("html.dir", :locale => "en") do %>
         <h1><%= t ".foreign.title" %></h1>
         <p>
-          <%= raw t ".foreign.text",
-                    :english_original_link => link_to(t(".foreign.english_link"),
-                                                      :controller => "site",
-                                                      :action => "copyright",
-                                                      :copyright_locale => "en") %>
+          <%= t ".foreign.html",
+                :english_original_link => link_to(t(".foreign.english_link"),
+                                                  :controller => "site",
+                                                  :action => "copyright",
+                                                  :copyright_locale => "en") %>
         </p>
       <% end %>
       <hr />