Fix secondary collections.
authorAlexandre Segura <mex.zktk@gmail.com>
Tue, 23 May 2017 16:49:39 +0200
changeset 524 a051b60f4b26
parent 523 74bed3682231
child 525 7f3fdcba7902
Fix secondary collections.
src/iconolab/templates/iconolab/home.html
--- a/src/iconolab/templates/iconolab/home.html	Tue May 23 18:44:00 2017 +0200
+++ b/src/iconolab/templates/iconolab/home.html	Tue May 23 16:49:39 2017 +0200
@@ -126,32 +126,14 @@
         {% endthumbnail %}
       </div>
       <div class="col-md-8">
-        <ul class="list-inline list-unstyled pull-right">
-          <li><div id="show-main-collections" class="btn btn-default btn-xs btn-collection" @click="showMainPanel()">Retour page principale</div></li>
-        </ul>
-        <h1 class="collection-title"><small>Fonds</small> {{ collection.verbose_name }}</h1>
+        <h3 class="collection-title">{{ collection.verbose_name }}</h3>
         <p id="collection-description-short-{{collection.name}}" class="text-justify collection-description">
           {{collection.description | safe}}
-          {% if collection.complete_description %}<a id="show-complete-{{collection.name}}" class="show-complete-link" @click="showCompleteDescription('{{collection.name}}')"> Voir plus</a></p>{% endif %}
         </p>
-        <p id="collection-description-complete-{{collection.name}}" class="text-justify collection-description-complete">
-          {{collection.complete_description | safe}}
-          <a id="hide-complete-{{collection.name}}" class="hide-complete-link" @click="hideCompleteDescription('{{collection.name}}')"> Voir moins</a>
-        </p>
-        <a href="{% url 'collection_home' collection.name %}" class="btn btn-default btn-sm">Contribuer</a>
+        <a href="{% url 'collection_home' collection.name %}" class="btn btn-primary btn">Contribuer</a>
       </div>
     </div>
   </div>
   {% endfor %}
-  {% if collections_secondary %}
-  <div class="collection-navbar text-center">
-    <h4>Les autres fonds d'images</h4>
-    <ul class="list-inline list-unstyled">
-      {% for collection in collections_secondary %}
-        <li><div id="show-collection-{{collection.name}}" class="btn btn-default btn-xs btn-collection"><a href="{% url 'collection_home' collection.name %}">{{collection.verbose_name}}</a></div></li>
-      {% endfor %}
-    </ul>
-  </div>
-  {% endif %}
 </div>
 {% endblock %}