X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1a0ef82ab8c89186124991e0c2299bb1925c0a67..edd23d1ff1c00bfdc21d571998dfc9caad6ca420:/app/views/browse/not_found.html.erb diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 103eb1c93..36ee4c883 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,10 +1,7 @@ -<% - browse_not_found_type = { - 'node' => I18n.t('browse.not_found.type.node'), - 'way' => I18n.t('browse.not_found.type.way'), - 'relation' => I18n.t('browse.not_found.type.relation'), - 'changeset' => I18n.t('browse.not_found.type.changeset'), - }; -%> +<% set_title(t(".title")) %> -

<%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %>

+<%= render "sidebar_header", :title => t(".title") %> + +
+

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