templates/feeds/thoughts_title.html @ 95340a47d081
Figured out the verbose_name_plural stuff.
| author |
Steve Losh <steve@stevelosh.com> |
| date |
Sat, 14 Feb 2009 11:45:32 -0500 |
| parents |
cc77ca937643 |
| children |
(none) |
{% ifequal obj.type 'thought-text' %}
{% if obj.item.title %}
{{ obj.item.title }}
{% else %}
{{ obj.item.body|truncatewords:10 }}
{% endif %}
{% endifequal %}
{% ifequal obj.type 'thought-link' %}
{% if obj.item.name %}
{{ obj.item.name }}
{% else %}
{{ obj.item.url }}
{% endif %}
{% endifequal %}