+
+ {% if post.author_id == request.user.identity.pk %}
+ {% include "action_delete_post.html" %}
{% endif %}
+ {% include "action_reply_post.html" %}
+ {% include "action_like_post.html" %}
+ {% include "action_boost_post.html" %}
+ {% include "action_open_post.html" %}
-
- {% if post.summary %}
-
- {% empty %}
-
-
- {% else %}
- {{ post.safe_content_local }}
- {% endif %}
- {% for attachment in post.attachments.all %}
-
- {{ post.summary }}
+ + {{ post.author.name|default:post.author.username }} + + + + {% if post.edited %} + {{ post.edited | date }} + + {% elif post.published %} + {{ post.published | date }} + {% else %} + {{ post.created | date }} + {% endif %} + + + {% if post.summary %} +
+
+ {% else %}
{{ post.safe_content_local }}
- {{ post.summary }}
+ {{ post.safe_content_local }} +
- {{ attachment.file_display_name }}
-
-
- {% endfor %}
-
- {% trans 'no replies so far.' %}
- {% endfor %}
+ {% endif %}
+ {% for attachment in post.attachments.all %}
+
+
+ {{ attachment.file_display_name }}
+
+
+ {% endfor %}
+
+