]> git.openstreetmap.org Git - rails.git/commitdiff
Allow closing the sidebar when a timeout occured
authorFlorian Schäfer <florian@schaeferban.de>
Sat, 5 Dec 2015 20:59:27 +0000 (21:59 +0100)
committerFlorian Schäfer <florian@schaeferban.de>
Sat, 5 Dec 2015 20:59:27 +0000 (21:59 +0100)
app/views/browse/timeout.html.erb

index 8b5076902170f7517c4791b5765ebe2400c44008..a624bf0a60e65f1f0208906a0e7490ac982d67ec 100644 (file)
@@ -6,4 +6,7 @@
     'changeset' => I18n.t('browse.timeout.type.changeset'),
   };
 %>
-<p><%= t'browse.timeout.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %></p>
+<div class="browse-section">
+  <a class="geolink" href="<%= root_path %>"><span class="icon close"></span></a>
+  <%= t'browse.timeout.sorry', :type=> browse_timeout_type[@type] , :id => params[:id] %>
+</div>