X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a6f45adede24e47b113dcf0f33e701478076f1b7..6adcce4e5d75fa21dea85742fa36ee3b97247b01:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index b668627a0..1f975e38d 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,344 +1,29 @@ -<% content_for :greeting do %> -<% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %> - <%= link_to_function t('layouts.home'), "setPosition(#{@user.home_lat}, #{@user.home_lon}, 15)", { :title => t('layouts.home_tooltip') } %> | +<% content_for :head do %> + <%= javascript_include_tag "index" %> <% end %> -<% end %> - -<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %> -<%= render :partial => 'key' %> -<%= render :partial => 'search' %> -