source: telemeta/templates/telemeta_default/inc/collection_list.html @ 5889b86

cremcrem2crem3devdev2diademsdj1.6feature/breadcrumbsfeature/ts-0.5feature/ts-0.5.4feature/writecacheformagenericinstru_searchlamlam2mapsv3mergenlivemultiproductionrelease/1.4.4sabiodsearchsecurityserversocialstoragetelecastertestvideo
Last change on this file since 5889b86 was 5889b86, checked in by olivier <>, 5 years ago

reduce geo navigator loading time, counting related resources on demand ; display both collections and items count in gmap info boxes

  • Property mode set to 100644
File size: 709 bytes
Line 
1{% load telemeta_utils %}
2{% if collections %}
3    {% if hits %}
4    <p class="pagination">Collections {{ first_on_page }} to {{ last_on_page }} on {{ hits }}
5    &nbsp;&nbsp;
6    {% if has_previous %} <a href="?page={{ previous }}&amp;{{criteria|build_query_string}}">&lt;&lt;</a> {% endif %}
7    {% if has_next %} <a href="?page={{ next }}&amp;{{criteria|build_query_string}}">&gt;&gt;</a> {% endif %}
8    </p>
9    {% endif %}
10    <ul>
11    {% for p in collections %}
12        <li><a href="{% url telemeta-collection-detail p.public_id %}">{{ p.title }}</a>
13            </li>
14    {% endfor %}
15    {% if more_collections %} <li>[...]</li> {% endif %}
16    </ul>
17{% else %}
18    <p>No collection</p>
19{% endif %}
Note: See TracBrowser for help on using the repository browser.