- <div class='section' id='open-data'>
- <h2><div class='icon open'></div><%= t ".open_data_title", :locale => @locale %></h2>
- <p><%= t ".open_data_html", :locale => @locale, :copyright_path => copyright_path %></p>
- </div>
-
- <div class='section' id='legal'>
- <h2><div class='icon legal'></div><%= t ".legal_title", :locale => @locale %></h2>
- <p><%= t ".legal_html", :locale => @locale %></p>
- </div>
+ <%= render :layout => "about_section", :locals => { :id => "legal", :icon => "legal", :title => "legal" } do %>
+ <p>
+ <%= t "site.about.legal_1_1_html", :openstreetmap_foundation_link => link_to(t("site.about.legal_1_1_openstreetmap_foundation"),
+ t("site.about.legal_1_1_openstreetmap_foundation_url")),
+ :terms_of_use_link => link_to(t("site.about.legal_1_1_terms_of_use"),
+ t("site.about.legal_1_1_terms_of_use_url")),
+ :aup_link => link_to(t("site.about.legal_1_1_aup"),
+ t("site.about.legal_1_1_aup_url")),
+ :privacy_policy_link => link_to(t("site.about.legal_1_1_privacy_policy"),
+ t("site.about.legal_1_1_privacy_policy_url")) %>
+ </p>
+ <p>
+ <%= t "site.about.legal_2_1_html", :contact_the_osmf_link => link_to(t("site.about.legal_2_1_contact_the_osmf"),
+ t("site.about.legal_2_1_contact_the_osmf_url")) %>
+ </p>
+ <p>
+ <%= t "site.about.legal_2_2_html", :registered_trademarks_link => link_to(t("site.about.legal_2_2_registered_trademarks"),
+ t("site.about.legal_2_2_registered_trademarks_url")) %>
+ </p>
+ <% end %>