blob: 8567c27412c4567d25cf52d2e853e35367f84987 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
{% import "macros.html" as macros %}
{% include "tags/header.html" %}
{% if tag_list_type == 'list' %}
{% if not tags.object_list %}
<span>{% trans %}Nothing found{% endtrans %}</span>
{% endif %}
{% if tags.object_list %}
<div class='clearfix'></div>
<ul class='tags'>
{% for tag in tags.object_list %}
<li>
{{ macros.tag_widget(
tag=tag.name,
html_tag='div',
truncate_long_tag=True,
extra_content='<span class="tag-number">× ' ~
tag.used_count|intcomma ~ '</span>'
)
}}
</li>
{% endfor %}
</ul>
<div class="clean"></div>
<div class="pager">
{{macros.paginator(paginator_context)}}
</div>
{% endif %}
{% else %}
<div class="clearfix"></div>
{% if not tags %}
<span>{% trans %}Nothing found{% endtrans %}</span>
{% endif %}
{{ macros.tag_cloud(tags=tags, font_sizes=font_size, search_state=search_state) }}
{% endif %}
|