{% import 'jinja_master/lib.html' as lib with context %}
{% if limit %} {{widgets.page_list.display(limit=limit, page=page, count=count)}} {% endif %}
{% set posts = value.find_posts(page=page, limit=limit) %} {% if posts %} {% for t in value.create_post_threads(posts) %}
    {{widgets.post_thread.display(value=t['post'], indent=0, show_subject=show_subject, supress_promote=True, page=page, limit=limit)}}
{% endfor %} {% endif %} {% if h.has_artifact_access('moderate', value)() %}
{% endif %} {% if h.has_artifact_access('post', value)() %} {% endif %}
{% if limit %}
{{widgets.page_list.display(limit=limit, page=page, count=count)}} {{widgets.page_size.display(limit=limit)}}
{% endif %}
{% if h.has_artifact_access('post', value)() %}

{{lib.gravatar(c.user)}}

{{c.user.display_name}}

{{widgets.edit_post.display(submit_text='Save', action=value.url() + 'post')}}
{% endif %}