diff options
author | Byron <byroncorrales@gmail.com> | 2011-11-23 22:42:27 -0600 |
---|---|---|
committer | Byron <byroncorrales@gmail.com> | 2011-11-23 22:42:27 -0600 |
commit | aca97d4223c742941734167e2cf5458f8bae016d (patch) | |
tree | 97608556db988124f4d206328cafeeac51c1ac0f | |
parent | 35e9f039651d67635690453e59b627ececae97d8 (diff) | |
download | askbot-aca97d4223c742941734167e2cf5458f8bae016d.tar.gz askbot-aca97d4223c742941734167e2cf5458f8bae016d.tar.bz2 askbot-aca97d4223c742941734167e2cf5458f8bae016d.zip |
truncate strings lenght in widget tags list
-rw-r--r-- | askbot/skins/default/templates/macros.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/askbot/skins/default/templates/macros.html b/askbot/skins/default/templates/macros.html index 34c7e9cc..49c697a0 100644 --- a/askbot/skins/default/templates/macros.html +++ b/askbot/skins/default/templates/macros.html @@ -221,7 +221,7 @@ poor design of the data or methods on data objects #} title="{% trans %}see questions tagged '{{ tag }}'{% endtrans %}" {% endif %} rel="tag" - >{{ tag|replace('*', '✽')}}</{% if not is_link or tag[-1] == '*' %}span{% else %}a{% endif %}> + >{{ tag|replace('*', '✽')|truncate(24,True)}}</{% if not is_link or tag[-1] == '*' %}span{% else %}a{% endif %}> {% if deletable %} <span class="delete-icon" {% if delete_link_title %} |