]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.html.erb
Introduce a new layer switcher
[rails.git] / app / views / layouts / site.html.erb
index 1123ff55532789b1a3af2a06f8c8d4757d46df4b..423a7b72c205da523f154bed807d641823e04686 100644 (file)
@@ -51,6 +51,9 @@
         <% 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 %>
+        <% unless STATUS == :api_offline or STATUS == :database_offline %>
+            <li><%= link_to_function(t('browse.start_rjs.data_layer_name'), 'toggleData()') %></li>
+        <% end %>
       </ul>
     </div>