]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/map.html.erb
Remove ad concept
[rails.git] / app / views / layouts / map.html.erb
index c6467382a4d6ae3d87ad4a11b4d5f58d912f4065..2d50b5abf6520eb85068465427ca7d384d8410ea 100644 (file)
@@ -17,7 +17,7 @@
 <% end %>
 
 <% content_for :content do %>
-  <div id="sidebar">
+  <div id="sidebar" class="<%= 'minimized' if @user %>">
     <%= form_tag search_path, :id => "search_form" do %>
       <%= submit_tag t('site.search.submit_text') %>
       <div id='query_wrapper'>
       </div>
     <% end %>
 
-    <a id="ad" href="#">
-      <span class="ad-content">State of the Map 2014</span>
-      <span class="close">dismiss</span>
-    </a>
-
     <div id="sidebar_content">
       <% if STATUS == :database_offline or STATUS == :api_offline %>
         <p class="error"><%= t 'layouts.osm_offline' %></p>