X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8368f903101031389c7153623c8858a7a6f2de84..28af501924c6cc30560f463fe818bb098a18b9cc:/app/views/browse/timeout.html.erb diff --git a/app/views/browse/timeout.html.erb b/app/views/browse/timeout.html.erb index a624bf0a6..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('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'), - }; -%> +<% set_title(t(".title")) %> + +<%= render "sidebar_header", :title => t(".title") %> +
- - <%= t'browse.timeout.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %> +

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