{% extends 'base.html' %} {% block title %}Actualités · Back-office{% endblock %} {% block content %}

{{ t('Actualités', 'News') }}

{{ t('Tableau de bord', 'Dashboard') }} {{ t('Nouvelle actualité', 'New news item') }}
{% for n in items %}

{{ n.title }}

{{ n.created_at.strftime('%Y-%m-%d') if n.created_at else '' }} · {% if n.published %}{{ t('Publiée', 'Published') }}{% else %}{{ t('Brouillon', 'Draft') }}{% endif %}
{{ t('Modifier', 'Edit') }}
{% else %}
{{ t('Aucune actualité.', 'No news yet.') }}
{% endfor %}
{% endblock %}