erang truncate words

This commit is contained in:
Sanj 2011-12-20 17:04:02 +05:30
parent c7da4bf546
commit 758e044349

View File

@ -28,7 +28,7 @@
<div class="contentBoxes">
<h1>WEB LINKS</h1>
{% for weblink in weblinks %}
<p>{{ weblink.title }}</p>
<p>{{ weblink.title|truncatewords:6 }}</p>
{% endfor %}
<p class="contentBoxesMore"><a href="#weblinks">More &#187;</a></p>
</div><!-- CONTENT BOXES CLOSING -->
@ -36,7 +36,7 @@
<div class="contentBoxes">
<h1>BULLETIN BOARD</h1>
{% for bbitem in bbitems %}
<p>{{ bbitem.title }}</p>
<p>{{ bbitem.title|truncatewords:6 }}</p>
{% endfor %}
<p class="contentBoxesMore"><a href="#bbitems">More &#187;</a></p>
</div><!-- CONTENT BOXES CLOSING -->