From a4ecdf885f9a2f773f43b9c774cc40596537c961 Mon Sep 17 00:00:00 2001 From: Sanj Date: Tue, 6 Dec 2011 04:24:02 +0530 Subject: [PATCH] truncate words --- itf/templates/emailer/email.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/itf/templates/emailer/email.html b/itf/templates/emailer/email.html index d7ebe1a..a5330ed 100644 --- a/itf/templates/emailer/email.html +++ b/itf/templates/emailer/email.html @@ -34,7 +34,7 @@ {% for b in bbitems %}

{{ b.title }}

-

{{ b.text|truncate:80 }}

+

{{ b.text|truncatewords:25 }}

More »

{% endfor %}