]> git.openstreetmap.org Git - rails.git/blob - app/views/site/index.html.erb
Sidebar work
[rails.git] / app / views / site / index.html.erb
1 <% content_for :head do %>
2   <%= javascript_include_tag "index" %>
3 <% end %>
4
5 <% content_for :sidebar do %>
6   <h2>
7     <%= t 'layouts.intro_header' %>
8     <span class="icon close"></span>
9   </h2>
10
11   <p><%= t 'layouts.intro_text' %></p>
12
13   <div class='footer'>
14     <a title="<%= t('layouts.make_a_donation.title') %>" href="http://donate.openstreetmap.org/" class="donate">
15       <span class='icon donate'></span>
16       <span><%= t('layouts.make_a_donation.text') %></span>
17     </a>
18
19     <p class='credits'>
20       <%= t 'layouts.partners_html',
21             :ucl => link_to(t('layouts.partners_ucl'), "http://www.vr.ucl.ac.uk"),
22             :ic => link_to(t('layouts.partners_ic'), "http://www.imperial.ac.uk/"),
23             :bytemark => link_to(t('layouts.partners_bytemark'), "http://www.bytemark.co.uk"),
24             :partners => link_to(t('layouts.partners_partners'), t('layouts.partners_url')) %>
25     </p>
26   </div>
27 <% end %>
28
29 <%= render :template => 'layouts/map' %>