X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cc4f133e64a1f0d963f60fb40045145a530d5dbb..3b1f455dd9c7b64933f952350081728458d190a1:/app/views/site/index.html.erb
diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb
index 5eb8ae228..25f0c8585 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' %>
@@ -38,11 +38,7 @@
<%= t'site.index.license.project_url' %> |
- <%=
- t'site.index.license.notice',
- :license_name => t('site.index.license.license_name'),
- :project_name => t('site.index.license.project_name')
- %> |
+ <%= t'site.index.license.copyright' %> |
@@ -125,11 +121,6 @@ else
end
%>
-<%= javascript_include_tag 'openlayers.js' %>
-<%= javascript_include_tag 'map.js' %>
-
-<%= render :partial => 'resize' %>
-