Parent: [67df1e] (diff)

Child: [ebb201] (diff)

Download this file

post_thread.html    15 lines (14 with data), 479 Bytes

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