]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
Fix indentation
[rails.git] / app / views / site / copyright.html.erb
1 <% content_for :heading do %>
2   <% if @locale == "en" %>
3     <!-- Maybe ease foreigners back to their native page -->
4     <% if t(".legal_babble", :locale => I18n.locale) != t(".legal_babble", :locale => :en) %>
5       <%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
6         <h1><%= t ".native.title" %></h1>
7         <p>
8           <%= t ".native.html",
9                 :native_link => link_to(t(".native.native_link"),
10                                         :controller => "site",
11                                         :action => "copyright",
12                                         :copyright_locale => nil),
13                 :mapping_link => link_to(t(".native.mapping_link"),
14                                          :controller => "site",
15                                          :action => "index") %>
16         </p>
17       <% end %>
18       <hr />
19     <% end %>
20   <% else %>
21     <!-- Maybe note that this page has been translated -->
22     <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
23       <%= tag.div :lang => "en", :dir => t("html.dir", :locale => "en") do %>
24         <h1><%= t ".foreign.title" %></h1>
25         <p>
26           <%= t ".foreign.html",
27                 :english_original_link => link_to(t(".foreign.english_link"),
28                                                   :controller => "site",
29                                                   :action => "copyright",
30                                                   :copyright_locale => "en") %>
31         </p>
32       <% end %>
33       <hr />
34     <% end %>
35   <% end %>
36
37   <% I18n.with_locale @locale do %>
38     <%= tag.h1 :lang => @locale, :dir => t("html.dir") do %>
39       <%= t ".legal_babble.title_html" %>
40     <% end %>
41   <% end %>
42 <% end %>
43
44 <% I18n.with_locale @locale do %>
45   <%= tag.div :lang => @locale, :dir => t("html.dir") do %>
46     <p><%= t ".legal_babble.intro_1_html" %></p>
47     <p><%= t ".legal_babble.intro_2_html" %></p>
48     <p><%= t ".legal_babble.intro_3_1_html" %></p>
49
50     <h3><%= t ".legal_babble.credit_title_html" %></h3>
51     <p><%= t ".legal_babble.credit_1_html" %></p>
52     <p><%= t ".legal_babble.credit_2_1_html" %></p>
53     <p><%= t ".legal_babble.credit_3_1_html" %></p>
54     <p><%= t ".legal_babble.credit_4_html" %></p>
55     <p><%= image_tag("attribution_example.png",
56                      :alt => t(".legal_babble.attribution_example.alt"),
57                      :border => 0,
58                      :title => t(".legal_babble.attribution_example.title")) %></p>
59
60     <h3><%= t ".legal_babble.more_title_html" %></h3>
61     <p><%= t ".legal_babble.more_1_html" %></p>
62     <p><%= t ".legal_babble.more_2_html" %></p>
63
64     <h3><%= t ".legal_babble.contributors_title_html" %></h3>
65     <p><%= t ".legal_babble.contributors_intro_html" %></p>
66     <ul id="contributors">
67       <li><%= t ".legal_babble.contributors_at_html" %></li>
68       <li><%= t ".legal_babble.contributors_au_html" %></li>
69       <li><%= t ".legal_babble.contributors_ca_html" %></li>
70       <li><%= t ".legal_babble.contributors_fi_html" %></li>
71       <li><%= t ".legal_babble.contributors_fr_html" %></li>
72       <li><%= t ".legal_babble.contributors_nl_html" %></li>
73       <li><%= t ".legal_babble.contributors_nz_html" %></li>
74       <li><%= t ".legal_babble.contributors_si_html" %></li>
75       <li><%= t ".legal_babble.contributors_es_html" %></li>
76       <li><%= t ".legal_babble.contributors_za_html" %></li>
77       <li><%= t ".legal_babble.contributors_gb_html" %></li>
78     </ul>
79     <p><%= t ".legal_babble.contributors_footer_1_html" %></p>
80     <p><%= t ".legal_babble.contributors_footer_2_html" %></p>
81
82     <h3><%= t ".legal_babble.infringement_title_html" %></h3>
83     <p><%= t ".legal_babble.infringement_1_html" %></p>
84     <p><%= t ".legal_babble.infringement_2_html" %></p>
85
86     <h3><%= t ".legal_babble.trademarks_title_html" %></h3>
87     <p><%= t ".legal_babble.trademarks_1_html" %></p>
88   <% end %>
89 <% end %>