Posted on {{timestamp(post.created_at)}} {%- if show_toolbar -%} {%- if owns -%} Edit {%- endif -%} {%- if can_reply -%} {%- endif -%} {%- if can_delete -%} Delete {%- endif -%} {%- endif -%}
{{post.content | safe}} {%- if render_sig and post.signature_rendered -%}
{{post.signature_rendered | safe}}
{%- endif -%}
{%- if show_reactions -%}
{%- for reaction in Reactions.for_post(post.id) -%} {% set reactors = Reactions.get_users(post.id, reaction.reaction_text) | map(attribute='username') | list %} {% set reactors_trimmed = reactors[:10] %} {% set reactors_str = reactors_trimmed | join (',\n') %} {% if reactors | count > 10 %} {% set reactors_str = reactors_str + '\n...and many others' %} {% endif %} {% set has_reacted = get_active_user() is not none and get_active_user().username in reactors %} {%- endfor -%} {%- if is_logged_in() -%}{%- endif -%}
{%- endif -%}