]> git.openstreetmap.org Git - rails.git/commitdiff
Style browse 404 page and simplify wording, closes #53
authorAaron Lidman <aaronlidman@gmail.com>
Tue, 12 Nov 2013 19:36:09 +0000 (11:36 -0800)
committerAaron Lidman <aaronlidman@gmail.com>
Tue, 12 Nov 2013 19:36:09 +0000 (11:36 -0800)
app/views/browse/not_found.html.erb
config/locales/en.yml

index f536ef9ffea74b30bf766c51d28d7aa0dcf51c9e..103eb1c932d4dea4dc16103b187842f8cd615d2c 100644 (file)
@@ -6,4 +6,5 @@
     'changeset' => I18n.t('browse.not_found.type.changeset'),
   };
 %>
-<p><%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></p>
+
+<h2><%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>
index 0253a7f2124a4a92fc7ad2dc44777b054523d2fe..89103ec5200e538754a21a2ea11351a6b983a901 100644 (file)
@@ -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