{% extends "blog/base_my.html" %} {% load i18n %} {% block head_title %}{% trans "My posts" %}{% endblock %} {% block my_post_list_tab_class %} ui-tabs-selected ui-state-active{% endblock %} {% block tab_content %} {% if post_list %} {% regroup post_list|dictsort:"status" by status as posts_by_status %} {% for post_list in posts_by_status %}
{% trans "Title" %} | {% trans "Created" %} | {% trans "Updated" %} | {% trans "Actions" %} | {% for post in posts %}
{{ post.blog.name }} → {{ post.title }} | {{ post.created_at|date:"d M Y, H:i" }} | {{ post.updated_at|date:"d M Y, H:i" }} | [ {% trans "Edit" %} ] {% if post.is_public %} [ {% trans "To drafts" %} ] {% else %} [ {% trans "Publish" %} ] {% endif %} |