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