{{lib.user_link(value.author())}} - {{lib.abbr_date(value.timestamp)}}
{% if (h.has_access(value.thread, 'post')() and value.status == 'ok') or moderator %} {% endif %} {% if h.has_access(value, 'moderate')()%} {% endif %} {% if h.has_access(value.thread, 'moderate')() %} {{widgets.moderate_post.display(value=value, action=value.url()+'moderate', status = value.status)}} {%endif%}
{% if pending and not moderator %} Post awaiting moderation. {% else %} {% if show_subject %} {{value.subject or '(no subject)'}}
{% endif %} {{g.markdown.cached_convert(value, 'text')|safe}}  {{lib.related_artifacts(value)}} {% if value.edit_count %}
Last edit: {{value.last_edit_by().display_name}} {{h.ago(value.last_edit_date)}} {% endif %} {% endif %}
{% if h.has_access(value, 'moderate')() %} {% endif %} {% if h.has_access(value, 'moderate')() %} {% endif %} {% if value.attachments and (not pending or moderator) %}
{% for att in value.attachments %}
{% if att.is_image() %}
{% else %}
{% endif %} {{att.filename}}
{% if h.has_access(value, 'moderate')()%} {% endif %} {{lib.csrf_token()}}
{% endfor %}
{% endif %}