]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Move "Browse Map Data" to layers control
[rails.git] / app / views / site / index.html.erb
index 5c470ca89fd79a9584bc90cd1d88f5843fd8ea53..88bf4907320a8b98247ed5d5ecd5867ad2fc2fa7 100644 (file)
@@ -2,15 +2,12 @@
   <%= javascript_include_tag "index" %>
 <% end %>
 
-<% unless STATUS == :api_offline or STATUS == :database_offline -%>
-  <% content_for :editmenu do -%>
-    <li><%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %></li>
-  <% end -%>
-<% end -%>
+<% content_for :left_menu do %>
+  <li><h4><%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %></h4></li>
+<% end %>
 
 <%= render :partial => 'home_link' %>
 <%= render :partial => 'sidebar' %>
-<%= render :partial => 'key' %>
 <%= render :partial => 'search' %>
 
 <noscript>