]> git.openstreetmap.org Git - rails.git/blob - app/views/site/copyright.html.erb
0ef9d7b2bccf1cd3737a2cc5cb13dc69d307375d
[rails.git] / app / views / site / copyright.html.erb
1 <p id="cc_logo">
2   <%= link_to(
3           image_tag("cc_button.png",
4               :alt => t('layouts.license.alt'),
5               :border => 0,
6               :width => 88,
7               :height => 31,
8               :title => t('layouts.license.title')),
9           "http://creativecommons.org/licenses/by-sa/2.0/",
10           { :rel => "license" }) %>
11 </p>
12
13 <% if @locale == 'en' %>
14   <!-- Maybe ease foreigners back to their native page -->
15   <% if t('license_page.legal_babble', :locale => I18n.locale) != t('license_page.legal_babble', :locale => :en) %>
16     <h2><%= t 'license_page.native.title' %></h2>
17     <p>
18       <%= raw t 'license_page.native.text',
19                   :native_link => link_to(t('license_page.native.native_link'),
20                                               :controller => 'site',
21                                               :action => 'copyright',
22                                               :copyright_locale => nil),
23                   :mapping_link => link_to(t('license_page.native.mapping_link'),
24                                               :controller => 'site',
25                                               :action => 'index') %>
26     </p>
27     <hr />
28   <% end %>
29 <% else %>
30   <!-- Maybe note that this page has been translated -->
31   <% if t('license_page.legal_babble', :locale => @locale) != t('license_page.legal_babble', :locale => :en) %>
32     <h2><%= t 'license_page.foreign.title' %></h2>
33     <p>
34       <%= raw t 'license_page.foreign.text',
35                   :english_original_link => link_to(t('license_page.foreign.english_link'),
36                                                         :controller => 'site',
37                                                         :action => 'copyright',
38                                                         :copyright_locale => 'en') %>
39     </p>
40     <hr />
41   <% end %>
42 <% end %>
43
44 <h2><%= t "license_page.legal_babble.title_html", :locale => @locale %></h2>
45
46 <p><%= t "license_page.legal_babble.intro_1_html", :locale => @locale %></p>
47 <p><%= t "license_page.legal_babble.intro_2_html", :locale => @locale %></p>
48
49 <h3><%= t "license_page.legal_babble.credit_title_html", :locale => @locale %></h3>
50 <p><%= t "license_page.legal_babble.credit_1_html", :locale => @locale %></p>
51 <p><%= t "license_page.legal_babble.credit_2_html", :locale => @locale %></p>
52
53 <h3><%= t "license_page.legal_babble.more_title_html", :locale => @locale %></h3>
54 <p><%= t "license_page.legal_babble.more_1_html", :locale => @locale %></p>
55 <p><%= t "license_page.legal_babble.more_2_html", :locale => @locale %></p>
56 <p><%= t "license_page.legal_babble.more_3_html", :locale => @locale %></p>
57
58 <h3><%= t "license_page.legal_babble.contributors_title_html", :locale => @locale %></h3>
59 <p><%= t "license_page.legal_babble.contributors_intro_html", :locale => @locale %></p>
60 <ul id="contributors">
61   <li><%= t "license_page.legal_babble.contributors_au_html", :locale => @locale %></li>
62   <li><%= t "license_page.legal_babble.contributors_at_html", :locale => @locale %></li>
63   <li><%= t "license_page.legal_babble.contributors_ca_html", :locale => @locale %></li>
64   <li><%= t "license_page.legal_babble.contributors_fr_html", :locale => @locale %></li>
65   <li><%= t "license_page.legal_babble.contributors_nl_html", :locale => @locale %></li>
66   <li><%= t "license_page.legal_babble.contributors_nz_html", :locale => @locale %></li>
67   <li><%= t "license_page.legal_babble.contributors_pl_html", :locale => @locale %></li>
68   <li><%= t "license_page.legal_babble.contributors_za_html", :locale => @locale %></li>
69   <li><%= t "license_page.legal_babble.contributors_gb_html", :locale => @locale %></li>
70 </ul>
71 <p><%= t "license_page.legal_babble.contributors_footer_1_html", :locale => @locale %></p>
72 <p><%= t "license_page.legal_babble.contributors_footer_2_html", :locale => @locale %></p>