]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/browse/not_found.html.erb
Merge branch 'master' into convert_roundabout_exits
[rails.git] / app / views / browse / not_found.html.erb
index 103eb1c932d4dea4dc16103b187842f8cd615d2c..5fe22a68a43c600bcfe701bd6202977e88686c6e 100644 (file)
@@ -1,10 +1,12 @@
 <%
   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'),
+    'node' => I18n.t('.type.node'),
+    'way' => I18n.t('.type.way'),
+    'relation' => I18n.t('.type.relation'),
+    'changeset' => I18n.t('.type.changeset'),
   };
 %>
 
-<h2><%= t'browse.not_found.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>
+<h2>
+    <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+    <%= t '.sorry', :type=> browse_not_found_type[@type] , :id => params[:id] %></h2>