Parent: [cceb25] (diff)

Child: [71ceeb] (diff)

Download this file

post_thread.html    11 lines (10 with data), 378 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
<li>
{{widget.parent_widget.widgets.post.display(
value=value, show_subject=show_subject, indent=indent,
supress_promote=supress_promote, page=page, limit=limit)}}
<ul>
{% for child in value.descendants() if child.status == 'ok' and child.parent_id == value._id %}
<li>{{widget.display(value=child, indent=indent+1)}}</li>
{% endfor %}
</ul>
</li>