]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Don't show "Browse Map Data" when we're not on the map view
[rails.git] / app / views / layouts / site.html.erb
index 58376d857d5ffd11e57d3b3166aa21883a1c1adf..c572b19267b9f613b78d6bd2ea4567ee2c97d4d1 100644 (file)
@@ -51,6 +51,7 @@
         <% Editors::ALL_EDITORS.each do |editor| %>
           <li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor', :class => "geolink llz object"} %></li>
         <% end %>
+        <%= yield :editmenu %>
       </ul>
     </div>
 
         <p><%= t 'layouts.osm_offline' %></p>
       </div>
       <% elsif STATUS == :database_readonly or STATUS == :api_readonly %>
-      <div id="sidebar-alert">
+      <div class="sidebar-alert">
         <p><%= t 'layouts.osm_read_only' %></p>
       </div>
       <% end %>
 
       <% if false %>
-      <div id="donate" class="notice">
-        <%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %>
+      <div class="sidebar-notice">
+        <p><%= raw t 'layouts.donate', :link => "<a href=\"http://donate.openstreetmap.org/\">#{t('layouts.donate_link_text')}</a>" %></p>
       </div>
       <% end %>