]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
Renamed `apply_inline_css` to `style_message` as suggested
[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
5     <% if t('license_page.legal_babble', :locale => I18n.locale) != t('license_page.legal_babble', :locale => :en) %>
6       <h1><%= t 'license_page.native.title' %></h1>
7       <p>
8         <%= raw t 'license_page.native.text',
9                     :native_link => link_to(t('license_page.native.native_link'),
10                                                 :controller => 'site',
11                                                 :action => 'copyright',
12                                                 :copyright_locale => nil),
13                     :mapping_link => link_to(t('license_page.native.mapping_link'),
14                                                 :controller => 'site',
15                                                 :action => 'index') %>
16       </p>
17       <hr />
18     <% end %>
19   <% else %>
20     <!-- Maybe note that this page has been translated -->
21     <% if t('license_page.legal_babble', :locale => @locale) != t('license_page.legal_babble', :locale => :en) %>
22       <h1><%= t 'license_page.foreign.title' %></h1>
23       <p>
24         <%= raw t 'license_page.foreign.text',
25                     :english_original_link => link_to(t('license_page.foreign.english_link'),
26                                                           :controller => 'site',
27                                                           :action => 'copyright',
28                                                           :copyright_locale => 'en') %>
29       </p>
30       <hr />
31     <% end %>
32   <% end %>
33
34   <h1><%= t "license_page.legal_babble.title_html", :locale => @locale %></h1>
35
36 <% end %>
37
38 <p><%= t "license_page.legal_babble.intro_1_html", :locale => @locale %></p>
39 <p><%= t "license_page.legal_babble.intro_2_html", :locale => @locale %></p>
40 <p><%= t "license_page.legal_babble.intro_3_html", :locale => @locale %></p>
41
42 <h3><%= t "license_page.legal_babble.credit_title_html", :locale => @locale %></h3>
43 <p><%= t "license_page.legal_babble.credit_1_html", :locale => @locale %></p>
44 <p><%= t "license_page.legal_babble.credit_2_html", :locale => @locale %></p>
45 <p><%= t "license_page.legal_babble.credit_3_html", :locale => @locale %></p>
46 <p><%= image_tag("attribution_example.png",
47               :alt => t('license_page.legal_babble.attribution_example.alt'),
48               :border => 0,
49               :title => t('license_page.legal_babble.attribution_example.title')) %>
50
51 <h3><%= t "license_page.legal_babble.more_title_html", :locale => @locale %></h3>
52 <p><%= t "license_page.legal_babble.more_1_html", :locale => @locale %></p>
53 <p><%= t "license_page.legal_babble.more_2_html", :locale => @locale %></p>
54
55 <h3><%= t "license_page.legal_babble.contributors_title_html", :locale => @locale %></h3>
56 <p><%= t "license_page.legal_babble.contributors_intro_html", :locale => @locale %></p>
57 <ul id="contributors">
58   <li><%= t "license_page.legal_babble.contributors_at_html", :locale => @locale %></li>
59   <li><%= t "license_page.legal_babble.contributors_ca_html", :locale => @locale %></li>
60   <li><%= t "license_page.legal_babble.contributors_fi_html", :locale => @locale %></li>
61   <li><%= t "license_page.legal_babble.contributors_fr_html", :locale => @locale %></li>
62   <li><%= t "license_page.legal_babble.contributors_nl_html", :locale => @locale %></li>
63   <li><%= t "license_page.legal_babble.contributors_nz_html", :locale => @locale %></li>
64   <li><%= t "license_page.legal_babble.contributors_si_html", :locale => @locale %></li>
65   <li><%= t "license_page.legal_babble.contributors_za_html", :locale => @locale %></li>
66   <li><%= t "license_page.legal_babble.contributors_gb_html", :locale => @locale %></li>
67 </ul>
68 <p><%= t "license_page.legal_babble.contributors_footer_1_html", :locale => @locale %></p>
69 <p><%= t "license_page.legal_babble.contributors_footer_2_html", :locale => @locale %></p>
70
71 <h3><%= t "license_page.legal_babble.infringement_title_html", :locale => @locale %></h3>
72 <p><%= t "license_page.legal_babble.infringement_1_html", :locale => @locale %></p>
73 <p><%= t "license_page.legal_babble.infringement_2_html", :locale => @locale %></p>
74
75 <h3><%= t "license_page.legal_babble.trademarks_title_html", :locale => @locale %></h3>
76 <p><%= t "license_page.legal_babble.trademarks_1_html", :locale => @locale %></p>