X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2e2f2124728ca755b2db8f83f022eaea24b647f0..e6d7da3a629c952a5d27f4d356dd4d5c4293848a:/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 743ab0c8e..084c247dc 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,8 +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'), - }; -%> -

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

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

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