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