|
@@ -1,16 +1,28 @@
|
1
|
1
|
{% if tags|length %}
|
|
2
|
+
|
|
3
|
+ <label for="cloud_tags_filter" >{{ 'tags.cloud.filter.text'|trans({}, 'userui') }}</label>
|
|
4
|
+ <input type="text" id="cloud_tags_filter" />
|
|
5
|
+
|
2
|
6
|
<input type="hidden" id="get_elements_url" value="{{ path('favorite_get', {
|
3
|
7
|
'user_id': user_id,
|
4
|
8
|
'tags_ids_json' : ''
|
5
|
9
|
}) }}" />
|
6
|
10
|
<ul id="favorite_tags">
|
7
|
11
|
{% for tag in tags %}
|
8
|
|
- <li>
|
|
12
|
+ <li {% if loop.index0 > cloud_tags_limit_to_display %}style="display: none;"{% endif %}>
|
9
|
13
|
<a id="filtering_tag_{{ tag.id }}" href="#" class="button tag">
|
10
|
14
|
{{ tag.name }}
|
11
|
15
|
</a>
|
12
|
16
|
</li>
|
13
|
17
|
{% endfor %}
|
14
|
18
|
</ul>
|
|
19
|
+
|
|
20
|
+ {% if tags|length > cloud_tags_limit_to_display %}
|
|
21
|
+ <div style="clear: both;"></div>
|
|
22
|
+ <a href="#" id="display_all_cloud_tag" >
|
|
23
|
+ {{ 'tags.cloud.display_more'|trans({}, 'userui') }}
|
|
24
|
+ </a>
|
|
25
|
+ {% endif %}
|
|
26
|
+
|
15
|
27
|
<div class="clearboth" ></div>
|
16
|
28
|
{% endif %}
|