{% extends 'easycms/base.html' %} {% block easycms_title %}View Posts{% endblock %} {% block easycms_content %}
{% if post_type %} Only showing posts of type {{ post_type }} Show All Posts {% else %} Filter by Type: {% for post_type in post_types %} {{ post_type }} {% endfor %} {% endif %}
Type | Title | Code | Category | Created | Published | |
---|---|---|---|---|---|---|
{{ post.post_type }} | {{ post.title }} | {{ post.code }} | {{ post.category.name }} | {{ post.created | easycms_format_datetime_seconds }} | {% if post.published %} {{ post.published | easycms_format_datetime_seconds }} {% else %} (not published) {% endif %} | {% if access_control.can_edit_post() %}edit | {% endif %}