X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/2bb59daa37f8ff0807e235bb11e918dfe220284e..b595b87c48b59977304bf6c32e74c93d83cc0f8d:/app/views/browse/not_found.html.erb?ds=sidebyside diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index a8974b474..36ee4c883 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -1,12 +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] %> +