From 1a0ef82ab8c89186124991e0c2299bb1925c0a67 Mon Sep 17 00:00:00 2001 From: Aaron Lidman Date: Tue, 12 Nov 2013 11:36:09 -0800 Subject: [PATCH] Style browse 404 page and simplify wording, closes #53 --- app/views/browse/not_found.html.erb | 3 ++- config/locales/en.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/views/browse/not_found.html.erb b/app/views/browse/not_found.html.erb index f536ef9ff..103eb1c93 100644 --- a/app/views/browse/not_found.html.erb +++ b/app/views/browse/not_found.html.erb @@ -6,4 +6,5 @@ 'changeset' => I18n.t('browse.not_found.type.changeset'), }; %> -

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

+ +

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

diff --git a/config/locales/en.yml b/config/locales/en.yml index 0253a7f21..89103ec52 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -179,7 +179,7 @@ en: view_history: "View history" edit: "Edit node" not_found: - sorry: "Sorry, the %{type} with the id %{id}, could not be found." + sorry: "Sorry, %{type} #%{id} could not be found." type: node: node way: way -- 2.43.2