{% extends "layout.html" %} {% block title %}{{ session.username }}'s articles{% endblock %} {% block body %} {% set statuses = { 'published': 'success', 'refused': 'error', 'waiting': 'warning', 'draft': '' } -%}
Nothing here yet... | ||||
Title | Creation | Last update | Status | Operation |
---|---|---|---|---|
{{ article['title'] }} | {{ article['creation_date'] }} | {%- if not article['lastupdate_date'] -%} - {%- else -%} {{ article['lastupdate_date'] }} {% endif -%} | {{ article['status']|title }} | {%- if article['status'] != 'published' -%} Edit Delete Publish {% endif %} |