X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73b59c5859ab128f61a456699f3c809bbb15558a..054f934f27e79ab0f7a25a89b6b719cc2cb0cb06:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 39e54c7f6..fa3f31c1a 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,53 +1,21 @@ -<% content_for :head do %> - <%= javascript_include_tag "index" %> -<% end %> +

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

-<% unless STATUS == :api_offline or STATUS == :database_offline -%> - <% content_for :editmenu do -%> -
  • <%= link_to t("browse.start_rjs.notes_layer_name"), notes_url(:format => :json), :id => "show_notes" %>
  • -
  • <%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %>
  • - <% end -%> -<% end -%> +

    <%= t 'layouts.intro_text' %>

    -<% content_for :left_menu do %> -
  • <%= link_to t("site.key.map_key"), {:action => :key}, :id => "open_map_key", :title => t("site.key.map_key_tooltip") %>
  • -<% end %> +