Quickfix default tab on collection home #29
authordurandn
Tue, 20 Sep 2016 15:05:50 +0200
changeset 202 5af2823db279
parent 201 462dfcc3af95
child 203 3186cce76beb
Quickfix default tab on collection home #29
src/iconolab/templates/iconolab/collection_home.html
--- a/src/iconolab/templates/iconolab/collection_home.html	Tue Sep 20 14:58:47 2016 +0200
+++ b/src/iconolab/templates/iconolab/collection_home.html	Tue Sep 20 15:05:50 2016 +0200
@@ -16,7 +16,7 @@
   <li id="tab-recent" role="presentation" class="pull-right"><a class="collection-home-tab" id="show-recent">Annotations récentes</a></li>
 </ul>
 
-<div id="list-recent" class="recent-ann-wrapper collection-home-block {% if recent_annotations %}selected{% endif %}">
+<div id="list-recent" class="recent-ann-wrapper collection-home-block">
   {% include "partials/image_annotations_list.html" with annotation_list=recent_annotations.all %}
 </div>
 
@@ -28,7 +28,7 @@
   {% include "partials/image_annotations_list.html" with annotation_list=contribution_calls_annotations_list %}
 </div>
 
-<div id="list-items" class="collection-home-block {% if not recent_annotations %}selected{% endif %}">
+<div id="list-items" class="collection-home-block selected">
 <ul class="image-list-wrapper list-inline">
   {% for item in collection.items.all %}
   <li class="image-list-li small-image-wrapper panel panel-default">