{% extends "layouts/panel.html" %} {% load i18n %} {% load ravix_ui studio_ui %} {% block title %}{% trans "Posts" %}{% endblock %} {% block page_title %}{% trans "Posts" %}{% endblock %} {% block content %}
{% if show_author_filter %}{% trans "Manage posts of all authors" %}{% else %}{% trans "Your posts" %}{% endif %}
| {% trans "Title" %} | {% trans "Author" %} | {% trans "Language" %} | {% trans "Content categories" %} | {% trans "Status" %} | {% trans "Date" %} | |
|---|---|---|---|---|---|---|
| {{ post.title }} {{ post.slug }} |
{{ post.author.display_name|default:"—" }} | {{ post.language }} | {% for c in post.categories.all %}{{ c.name }} {% empty %}—{% endfor %} | {{ post.effective_status_label }}{% if post.effective_status == "scheduled" %} {{ post.publish_at|jalali_datetime }} {% endif %} |
{{ post.created_at|jalali }} {% blocktrans trimmed with updated_at=post.updated_at|jalali %}Edited: {{ updated_at }}{% endblocktrans %} |
{% icon "eye" 16 %} {% if post.pk in editable_ids %} {% studio_edit_button "post" post "btn btn-light btn-sm" %} {% icon "edit" 16 %} {% icon "trash" 16 %} {% endif %} |