%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'site' %>
<%= stylesheet_link_tag 'site' %>
<%= stylesheet_link_tag 'print', :media => "print" %>
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
<%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
<%= yield :head %>
<% if @notice || flash[:notice] %>
<%= @notice || flash[:notice] %>
<% end %>
<%= yield %>
OpenStreetMap
<%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0), :controller => 'site', :action => 'index') %>
The Free Wiki World Map
<% unless @user %>
OpenStreetMap is a free editable map of the whole world. It
is made by people like you.
OpenStreetMap allows you to view, edit and use geographical
data in a collaborative way from anywhere on Earth.
OpenStreetMap's hosting is kindly supported by the
UCL VR Centre and
bytemark.
<% end %>
<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
The OpenStreetMap database is currently offline while
essential database maintenance work is carried out.
<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
The OpenStreetMap database is currently in read-only mode while
essential database maintenance work is carried out.
<% end %>
<% if false %>
Support OpenStreetMap by
donating
to the Hardware Upgrade Fund.
<% end %>
<%= yield :optionals %>
<%= link_to image_tag("cc_button.png", :alt => "CC by-sa 2.0", :border => "0"), "http://creativecommons.org/licenses/by-sa/2.0/" %>