|
@@ -1,10 +1,24 @@
|
|
1
|
+{% if tags_display_limit is not defined %}
|
|
2
|
+ {% set tags_display_limit = cloud_tags_limit_to_display %}
|
|
3
|
+{% endif %}
|
|
4
|
+
|
1
|
5
|
<ul class="tags_cloud">
|
2
|
6
|
{% for key, tag in tags %}
|
3
|
|
- <li class="{{ css_list_length_class(key, tags|length) }}" {% if loop.index0 > cloud_tags_limit_to_display %}style="display: none;"{% endif %}>
|
|
7
|
+ <li class="{{ css_list_length_class(key, tags|length) }}" {% if loop.index0 > tags_display_limit %}style="display: none;"{% endif %}>
|
4
|
8
|
<a data-tagid="{{ tag.id }}" href="#" class="tag">
|
5
|
9
|
{{ tag.name }}
|
6
|
10
|
</a>
|
7
|
11
|
</li>
|
8
|
12
|
{% endfor %}
|
|
13
|
+
|
|
14
|
+ {% if (tags|length)-1 > tags_display_limit %}
|
|
15
|
+
|
|
16
|
+ <li>
|
|
17
|
+ <a class="display_all_cloud_tag" href="#" class="tag">
|
|
18
|
+ ...
|
|
19
|
+ </a>
|
|
20
|
+ </li>
|
|
21
|
+ {% endif %}
|
|
22
|
+
|
9
|
23
|
</ul>
|
10
|
24
|
<div class="clearboth" ></div>
|