X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/5966792af5f61d9dd65ff83bfd264e8a8098d307..3834ed45e6a383dc5b4fd72090abf692731ecd52:/app/views/site/index.html.erb diff --git a/app/views/site/index.html.erb b/app/views/site/index.html.erb index 5c470ca89..6e3f69a7d 100644 --- a/app/views/site/index.html.erb +++ b/app/views/site/index.html.erb @@ -1,43 +1,4 @@ -<% content_for :head do %> - <%= javascript_include_tag "index" %> -<% end %> - -<% unless STATUS == :api_offline or STATUS == :database_offline -%> - <% content_for :editmenu do -%> -
  • <%= link_to t("browse.start_rjs.data_layer_name"), { :controller => :browse, :action => :start }, :id => "show_data" %>
  • - <% end -%> -<% end -%> - -<%= render :partial => 'home_link' %> -<%= render :partial => 'sidebar' %> -<%= render :partial => 'key' %> -<%= render :partial => 'search' %> - - - -
    - -
    - - - -
    - - - - - - - - -
    <%= t'site.index.license.license_url' %><%= t'site.index.license.project_url' %>
    <%= t'site.index.license.copyright' %>
    -
    +<% + set_title + content_for(:content_class) { "overlay-sidebar" } +%>