summaryrefslogtreecommitdiffstats
path: root/askbot/skins/common/templates/widgets/related_tags.html
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/skins/common/templates/widgets/related_tags.html')
-rw-r--r--askbot/skins/common/templates/widgets/related_tags.html15
1 files changed, 11 insertions, 4 deletions
diff --git a/askbot/skins/common/templates/widgets/related_tags.html b/askbot/skins/common/templates/widgets/related_tags.html
index 34ea698e..05520998 100644
--- a/askbot/skins/common/templates/widgets/related_tags.html
+++ b/askbot/skins/common/templates/widgets/related_tags.html
@@ -1,6 +1,6 @@
-{% cache 0 "tags" tags search_tags scope sort query context.page context.page_size language_code %}
+{% cache 0 "tags" tags search_tags scope sort query context.page language_code %}
<div class="box">
- <h2>{% trans %}Related tags{% endtrans %}</h2>
+ <h2>{% trans %}Tags{% endtrans %}</h2>
{% if tag_list_type == 'list' %}
<ul id="related-tags" class="tags">
{% for tag in tags %}
@@ -9,13 +9,20 @@
tag.name,
html_tag = 'div',
extra_content = '<span class="tag-number">&#215; ' ~
- tag.local_used_count|intcomma ~ '</span>'
+ tag.local_used_count|intcomma ~ '</span>',
+ search_state = search_state
)}}
</li>
{% endfor %}
</ul>
{% else %}
- {{ macros.tag_cloud(tags = tags, font_sizes = font_size) }}
+ {{
+ macros.tag_cloud(
+ tags = tags,
+ font_sizes = font_size,
+ search_state = search_state
+ )
+ }}
{% endif %}
</div>
{% endcache %}