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 8b50769..a624bf0 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>