X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8bd001f1282b7a33a71c0565504e160dbe567d5d..d66ad4a4555c6ae9cb7257f53e2df375e5c4c73f:/app/views/browse/timeout.html.erb diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index de102e60f..084c247dc 100644 --- a/app/views/browse/timeout.html.erb +++ b/app/views/browse/timeout.html.erb @@ -1,12 +1,7 @@ -<% - browse_timeout_type = { - 'node' => I18n.t('.type.node'), - 'way' => I18n.t('.type.way'), - 'relation' => I18n.t('.type.relation'), - 'changeset' => I18n.t('.type.changeset'), - }; -%> +<% set_title(t(".title")) %> + +<%= render "sidebar_header", :title => t(".title") %> +
- - <%= t '.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %> +

<%= t ".sorry", :type => t(".type.#{@type}"), :id => params[:id] %>