]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Add support for CSS based control of user specific components
[rails.git] / app / views / layouts / site.html.erb
index 976117e08f8cd63278e7f506cea6143f68460928..6a820ef2629bbe282464e89530e0c72851fc3591 100644 (file)
@@ -13,6 +13,7 @@
     <%= 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." }) %>
+    <%= style_rules %>
     <%= yield :head %>
     <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
   </head>
       </div>
       <% end %>
 
-      <div class="notice">
-        OpenStreetMap will be undergoing database maintenance from 1st to 3rd
-        July. See
-        the <a href="http://wiki.openstreetmap.org/wiki/July_2010_DB_Upgrade">wiki</a>
-        for details.
-      </div>
-
       <% if false %>
       <div id="donate" class="notice">
         <%= t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
         <%= yield :left_menu %>
       </div>
 
-      <div id="sotm" class="notice">
-        <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2010'), :title => t('layouts.sotm2010'), :border => "0"), "http://www.stateofthemap.org/register/" %>
-      </div>
-
       <%= yield :optionals %>
 
       <center>