{# Template displays a document corpus catalog, when there is more tham 100 documents. Documents are displayed in groups of 100 documents.#} {% load fullpath %} {# select a css style, if a page is displayed in a frame or in a new windows #} {% if narrow_doc == "n" %} {% else %} {% endif %}
{{ documents.length}} Documents (from {{ documents.first.1 }} to {{ documents.last.1 }})
First {{ documents.first.0.name }}: {% if documents.first.0.text|length > 400 %} {{ documents.first.0.text|slice:":400"|add:"..."}} {% else %} {{ documents.first.0.text}} {% endif %}
Last {{ documents.last.0.name }}: {% if documents.last.0.text|length > 400 %} {{ documents.last.0.text|slice:":400"|add:"..."}} {% else %} {{ documents.last.0.text}} {% endif %}
Together contain {{ documents.sum_annotations }} {% if documents.sum_annotations > 1 %} annotations {% else %} annotation {% endif %} and are described with feature {{ documents.sum_features }} {% if documents.sum_features > 1 %} times. {% else %} time. {% endif %}
{% endfor %}