template correction
authorcavaliet
Wed, 11 Jul 2012 17:48:48 +0200
changeset 700 a4afd5a6010f
parent 699 3aa91bdec03d
child 701 05f2b7c3ea04
child 702 d50cb79f96ee
template correction
src/ldt/ldt/ldt_utils/templates/front/front_home.html
web/static/site/.keepme
--- a/src/ldt/ldt/ldt_utils/templates/front/front_home.html	Wed Jul 11 12:20:44 2012 +0200
+++ b/src/ldt/ldt/ldt_utils/templates/front/front_home.html	Wed Jul 11 17:48:48 2012 +0200
@@ -96,7 +96,7 @@
         <div class="txt_groupes_actifs">
             <div class="bulle_people" title="{% blocktrans count nb=group.user_set.count %}{{nb}} user in this group{% plural %}{{nb}} users in this group{% endblocktrans %}">{{ group.user_set.count }}</div>
             <p><a href="{% url ldt.ldt_utils.views.front.group_info group.id %}" class="under" title="{% trans 'view more infos on this group'%}"><b>{{group.name}}</b></a></p>
-            <p>{% if group.get_profile.description|length > 69 %}{{group.get_profile.description|safe|slice:":69"}}...{% else %}{{group.get_profile.description|safe}}{% endif %}</p>
+            <p>{% if group.get_profile.description|striptags|length > 69 %}{{group.get_profile.description|striptags|slice:":69"}}...{% else %}{{group.get_profile.description|striptags}}{% endif %}</p>
         </div>
     </li>
     {% endfor %}