euscanwww: Added some "truncatechars" filters

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-07-27 12:28:53 +02:00
parent 34e966f5de
commit fd8c61d7e8
5 changed files with 9 additions and 5 deletions

View File

@ -14,7 +14,7 @@
<li>
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
<a title="{{ package }} Feed" href="{% url "package_feed" package.category package.name %}">
{{ package }}
{{ package|truncatechars:15 }}
</a>
</li>
{% endblock %}