-
- <%= t 'layouts.project_name.h1' %>
- <%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0, :alt => t('layouts.logo.alt_text')), :controller => 'site', :action => 'index') %>
- <%= t('layouts.tag_line') %>
-
+ <%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0, :alt => t('layouts.logo.alt_text')), :controller => 'site', :action => 'index') %>
+ <%= t 'layouts.project_name.h1' %>
+ <%= t('layouts.tag_line') %>
+ <%= yield :optionals %>
+
<% unless @user %>
@@ -85,18 +79,20 @@
<%= t 'layouts.intro_2' %>
- <%= t 'layouts.intro_3',
- :ucl => link_to(t('layouts.intro_3_ucl'), "http://www.vr.ucl.ac.uk"),
- :bytemark => link_to(t('layouts.intro_3_bytemark'), "http://www.bytemark.co.uk") %>
+ <%= raw(t 'layouts.intro_3',
+ :ucl => link_to(t('layouts.intro_3_ucl'), "http://www.vr.ucl.ac.uk"),
+ :ic => link_to(t('layouts.intro_3_ic'), "http://www.imperial.ac.uk/"),
+ :bytemark => link_to(t('layouts.intro_3_bytemark'), "http://www.bytemark.co.uk"),
+ :partners => link_to(t('layouts.intro_3_partners'), t('layouts.intro_3_partners_url'))) %>
<% end %>
- <% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
+ <% if STATUS == :database_offline or STATUS == :api_offline %>
<%= t 'layouts.osm_offline' %>
- <% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
+ <% elsif STATUS == :database_readonly or STATUS == :api_readonly %>
<%= t 'layouts.osm_read_only' %>
@@ -104,36 +100,38 @@
<% if false %>
<% end %>
- <%= yield :optionals %>
-
-
-
- <%= link_to(
- image_tag("cc_button.png",
- :alt => t('layouts.license.alt'),
- :border => 0,
- :width => 88,
- :height => 31,
- :title => t('layouts.license.title')),
- "http://creativecommons.org/licenses/by-sa/2.0/",
- { :rel => "license" }) %>
-
+
+
+
+ <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%>
+ <%= render :partial => "layouts/piwik" %>
+ <% end -%>