X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2bd592498f2cce965d685fe55f46c8a226190a79..301e84d173adce800faac3535242674799bc576c:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 71567b2c5..be0acc396 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,310 +1,26 @@ -<% 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') } %> | -<% end %> -<% end %> +

+ <%= t 'layouts.intro_header' %> + +

-<%= render :partial => 'sidebar', :locals => { :onopen => "resizeMap();", :onclose => "resizeMap();" } %> -<%= render :partial => 'key' %> -<%= render :partial => 'search' %> +

<%= t 'layouts.intro_text' %>

- - -
-
- - - -