]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
Allow moderator to unhide diary entries as well as hide them
[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       <h1><%= t ".native.title" %></h1>
6       <p>
7         <%= t ".native.html",
8               :native_link => link_to(t(".native.native_link"),
9                                       :controller => "site",
10                                       :action => "copyright",
11                                       :copyright_locale => nil),
12               :mapping_link => link_to(t(".native.mapping_link"),
13                                        :controller => "site",
14                                        :action => "index") %>
15       </p>
16       <hr />
17     <% end %>
18   <% else %>
19     <!-- Maybe note that this page has been translated -->
20     <% if t(".legal_babble", :locale => @locale) != t(".legal_babble", :locale => :en) %>
21       <h1><%= t ".foreign.title" %></h1>
22       <p>
23         <%= t ".foreign.html",
24               :english_original_link => link_to(t(".foreign.english_link"),
25                                                 :controller => "site",
26                                                 :action => "copyright",
27                                                 :copyright_locale => "en") %>
28       </p>
29       <hr />
30     <% end %>
31   <% end %>
32
33   <% I18n.with_locale @locale do %>
34     <%= tag.h1 :lang => @locale, :dir => t("html.dir") do %>
35       <%= t ".legal_babble.title_html" %>
36     <% end %>
37   <% end %>
38 <% end %>
39
40 <% I18n.with_locale @locale do %>
41   <%= tag.div :lang => @locale, :dir => t("html.dir") do %>
42     <p>
43       <%= t ".legal_babble.introduction_1_html",
44             :registered_trademark_link => tag.sup(link_to(t(".legal_babble.introduction_1_registered_trademark_html"),
45                                                           :anchor => "trademarks")),
46             :open_data => tag.i(t(".legal_babble.introduction_1_open_data")),
47             :odc_odbl_link => link_to(t(".legal_babble.introduction_1_odc_odbl"),
48                                       t(".legal_babble.introduction_1_odc_odbl_url")),
49             :osm_foundation_link => link_to(t(".legal_babble.introduction_1_osm_foundation"),
50                                             t(".legal_babble.introduction_1_osm_foundation_url")) %>
51     </p>
52     <p>
53       <%= t ".legal_babble.introduction_2_html",
54             :legal_code_link => link_to(t(".legal_babble.introduction_2_legal_code"),
55                                         t(".legal_babble.introduction_2_legal_code_url")) %>
56     </p>
57     <p>
58       <%= t ".legal_babble.introduction_3_html",
59             :creative_commons_link => link_to(t(".legal_babble.introduction_3_creative_commons"),
60                                               t(".legal_babble.introduction_3_creative_commons_url")) %>
61     </p>
62
63     <h3><%= t ".legal_babble.credit_title_html" %></h3>
64     <p><%= t ".legal_babble.credit_1_html" %></p>
65     <ul>
66       <li><%= t ".legal_babble.credit_2_1" %></li>
67       <li><%= t ".legal_babble.credit_2_2" %></li>
68     </ul>
69     <p>
70       <%= t ".legal_babble.credit_3_html",
71             :attribution_guidelines_link => link_to(t(".legal_babble.credit_3_attribution_guidelines"),
72                                                     t(".legal_babble.credit_3_attribution_guidelines_url")) %>
73     </p>
74     <p>
75       <%= t ".legal_babble.credit_4_1_html",
76             :this_copyright_page_link => link_to(t(".legal_babble.credit_4_1_this_copyright_page"),
77                                                  copyright_path) %>
78     </p>
79     <p><%= image_tag("attribution_example.png",
80                      :alt => t(".legal_babble.attribution_example.alt"),
81                      :border => 0,
82                      :title => t(".legal_babble.attribution_example.title")) %></p>
83
84     <h3><%= t ".legal_babble.more_title_html" %></h3>
85     <p>
86       <%= t ".legal_babble.more_1_1_html",
87             :osmf_licence_page_link => link_to(t(".legal_babble.more_1_1_osmf_licence_page"),
88                                                t(".legal_babble.more_1_1_osmf_licence_page_url")) %>
89     </p>
90     <p>
91       <%= t ".legal_babble.more_2_1_html",
92             :api_usage_policy_link => link_to(t(".legal_babble.more_2_1_api_usage_policy"),
93                                               t(".legal_babble.more_2_1_api_usage_policy_url")),
94             :tile_usage_policy_link => link_to(t(".legal_babble.more_2_1_tile_usage_policy"),
95                                                t(".legal_babble.more_2_1_tile_usage_policy_url")),
96             :nominatim_usage_policy_link => link_to(t(".legal_babble.more_2_1_nominatim_usage_policy"),
97                                                     t(".legal_babble.more_2_1_nominatim_usage_policy_url")) %>
98     </p>
99
100     <h3><%= t ".legal_babble.contributors_title_html" %></h3>
101     <p><%= t ".legal_babble.contributors_intro_html" %></p>
102     <ul id="contributors">
103       <li>
104         <%= t ".legal_babble.contributors_at_credit_html",
105               :austria => tag.strong(t(".legal_babble.contributors_at_austria")),
106               :stadt_wien_link => link_to(t(".legal_babble.contributors_at_stadt_wien"),
107                                           t(".legal_babble.contributors_at_stadt_wien_url")),
108               :cc_by_link => link_to(t(".legal_babble.contributors_at_cc_by"),
109                                      t(".legal_babble.contributors_at_cc_by_url")),
110               :land_vorarlberg_link => link_to(t(".legal_babble.contributors_at_land_vorarlberg"),
111                                                t(".legal_babble.contributors_at_land_vorarlberg_url")),
112               :cc_by_at_with_amendments_link => link_to(t(".legal_babble.contributors_at_cc_by_at_with_amendments"),
113                                                         t(".legal_babble.contributors_at_cc_by_at_with_amendments_url")) %>
114       </li>
115       <li>
116         <%= t ".legal_babble.contributors_au_credit_html",
117               :australia => tag.strong(t(".legal_babble.contributors_au_australia")),
118               :geoscape_australia_link => link_to(t(".legal_babble.contributors_au_geoscape_australia"),
119                                                   t(".legal_babble.contributors_au_geoscape_australia_url")),
120               :cc_licence_link => link_to(t(".legal_babble.contributors_au_cc_licence"),
121                                           t(".legal_babble.contributors_au_cc_licence_url")) %>
122       </li>
123       <li>
124         <%= t ".legal_babble.contributors_ca_credit_html",
125               :canada => tag.strong(t(".legal_babble.contributors_ca_canada")) %>
126       </li>
127       <li>
128         <%= t ".legal_babble.contributors_fi_credit_html",
129               :finland => tag.strong(t(".legal_babble.contributors_fi_finland")),
130               :nlsfi_license_link => link_to(t(".legal_babble.contributors_fi_nlsfi_license"),
131                                              t(".legal_babble.contributors_fi_nlsfi_license_url")) %>
132       </li>
133       <li>
134         <%= t ".legal_babble.contributors_fr_credit_html",
135               :france => tag.strong(t(".legal_babble.contributors_fr_france")) %>
136       </li>
137       <li>
138         <%= t ".legal_babble.contributors_nl_credit_html",
139               :netherlands => tag.strong(t(".legal_babble.contributors_nl_netherlands")),
140               :and_link => link_to(t(".legal_babble.contributors_nl_and"),
141                                    t(".legal_babble.contributors_nl_and_url")) %>
142       </li>
143       <li>
144         <%= t ".legal_babble.contributors_nz_credit_html",
145               :new_zealand => tag.strong(t(".legal_babble.contributors_nz_new_zealand")),
146               :linz_data_service_link => link_to(t(".legal_babble.contributors_nz_linz_data_service"),
147                                                  t(".legal_babble.contributors_nz_linz_data_service_url")),
148               :cc_by_link => link_to(t(".legal_babble.contributors_nz_cc_by"),
149                                      t(".legal_babble.contributors_nz_cc_by_url")) %>
150       </li>
151       <li>
152         <%= t ".legal_babble.contributors_rs_credit_html",
153               :serbia => tag.strong(t(".legal_babble.contributors_rs_serbia")),
154               :rgz_link => link_to(t(".legal_babble.contributors_rs_rgz"),
155                                    t(".legal_babble.contributors_rs_rgz_url")),
156               :open_data_portal => link_to(t(".legal_babble.contributors_rs_open_data_portal"),
157                                            t(".legal_babble.contributors_rs_open_data_portal_url")) %>
158       </li>
159       <li>
160         <%= t ".legal_babble.contributors_si_credit_html",
161               :slovenia => tag.strong(t(".legal_babble.contributors_si_slovenia")),
162               :gu_link => link_to(t(".legal_babble.contributors_si_gu"),
163                                   t(".legal_babble.contributors_si_gu_url")),
164               :mkgp_link => link_to(t(".legal_babble.contributors_si_mkgp"),
165                                     t(".legal_babble.contributors_si_mkgp_url")) %>
166       </li>
167       <li>
168         <%= t ".legal_babble.contributors_es_credit_html",
169               :spain => tag.strong(t(".legal_babble.contributors_es_spain")),
170               :ign_link => link_to(t(".legal_babble.contributors_es_ign"),
171                                    t(".legal_babble.contributors_es_ign_url")),
172               :scne_link => link_to(t(".legal_babble.contributors_es_scne"),
173                                     t(".legal_babble.contributors_es_scne_url")),
174               :cc_by_link => link_to(t(".legal_babble.contributors_es_cc_by"),
175                                      t(".legal_babble.contributors_es_cc_by_url")) %>
176       </li>
177       <li>
178         <%= t ".legal_babble.contributors_za_credit_html",
179               :south_africa => tag.strong(t(".legal_babble.contributors_za_south_africa")),
180               :ngi_link => link_to(t(".legal_babble.contributors_za_ngi"),
181                                    t(".legal_babble.contributors_za_ngi_url")) %>
182       </li>
183       <li>
184         <%= t ".legal_babble.contributors_gb_credit_html",
185               :united_kingdom => tag.strong(t(".legal_babble.contributors_gb_united_kingdom")) %>
186       </li>
187     </ul>
188     <p>
189       <%= t ".legal_babble.contributors_2_html",
190             :contributors_page_link => link_to(t(".legal_babble.contributors_2_contributors_page"),
191                                                t(".legal_babble.contributors_2_contributors_page_url")) %>
192     </p>
193     <p><%= t ".legal_babble.contributors_footer_2_html" %></p>
194
195     <h3><%= t ".legal_babble.infringement_title_html" %></h3>
196     <p><%= t ".legal_babble.infringement_1_html" %></p>
197     <p>
198       <%= t ".legal_babble.infringement_2_1_html",
199             :takedown_procedure_link => link_to(t(".legal_babble.infringement_2_1_takedown_procedure"),
200                                                 t(".legal_babble.infringement_2_1_takedown_procedure_url")),
201             :online_filing_page_link => link_to(t(".legal_babble.infringement_2_1_online_filing_page"),
202                                                 t(".legal_babble.infringement_2_1_online_filing_page_url")) %>
203     </p>
204
205     <h3 id="trademarks">
206       <%= t ".legal_babble.trademarks_title" %>
207     </h3>
208     <p>
209       <%= t ".legal_babble.trademarks_1_1_html",
210             :trademark_policy_link => link_to(t(".legal_babble.trademarks_1_1_trademark_policy"),
211                                               t(".legal_babble.trademarks_1_1_trademark_policy_url")) %>
212     </p>
213   <% end %>
214 <% end %>