X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e0b175d3bd3ef655a20273dc2b7f04a8a34bb5f6..e8e4aa53d49c1f16aa11961cdc7a14e834a4a541:/app/views/browse/not_found.html.erb?ds=inline diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index 5fe22a68a..084c247dc 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('.type.node'), - 'way' => I18n.t('.type.way'), - 'relation' => I18n.t('.type.relation'), - 'changeset' => I18n.t('.type.changeset'), - }; -%> +<% set_title(t(".title")) %> -

- - <%= t '.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] %> +