{% extends 'quintet/dashboard.html' %} {% load humanize %} {% block title %}Posts{% endblock %} {% block active_nav %}Posts{% endblock %} {% block content %}
{% if perms.quintet.add_post %} Create Post {% endif %}
My Posts Ready for Review {% if ready_for_review_count > 0 %} {{ ready_for_review_count }} {% endif %} All Posts
{% for post in posts %} {% empty %} {% endfor %}
Title Section Contributors Status Updated
{{ post.title }} {{ post.section|default:"-" }} {% for contributor in post.contributors.all %} {{ contributor.user.first_name }}{% if not forloop.last %},{% endif %} {% endfor %} {% if post.status == 'D' %} {% elif post.status == 'R' %} {% elif post.status == 'S' %} {% elif post.status == 'P' %} {% elif post.status == 'H' %} {% elif post.status == 'A' %} {% endif %} {% if post.stamp_count > 0 %}{{ post.approved_by|length }}{% endif %} {{ post.date_updated|naturalday|capfirst }}
No posts to display.
{% endblock %}