X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/dcb25f0c07ef0252fb411be35030ead67f5da5d1..434e603cd6ab73ac37b2919c89c09bfbf6e8fe62:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index f604267d8..877bc1771 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -6,11 +6,11 @@ <% unless STATUS == :api_offline or STATUS == :database_offline -%> <% content_for :editmenu do -%> -
  • <%= link_to t("browse.start_rjs.data_layer_name"), "#", :id => "show_data" %>
  • +
  • <%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %>
  • <% end -%> <% end -%> -<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %> +<%= render :partial => 'sidebar' %> <%= render :partial => 'key' %> <%= render :partial => 'search' %> @@ -125,9 +125,6 @@ else end %> -<%= javascript_include_tag 'openlayers.js' %> -<%= javascript_include_tag 'map.js' %> - <%= render :partial => 'resize' %>