{% extends 'admin/master.html' %} {% block body %}
{%if config.get('ADMIN_HEADER') %} {{config.get('ADMIN_HEADER')|safe}} {% endif %}

Actions

{% for endpoint, icon, text in config.get('ADMIN_ICONS', [])%}
{{_gettext(text)|safe}}
{% endfor %}

Latest content

{% for content in contents %} {% endfor %}
Title Category Authors Date Type
{{ content['title'] }} {{ content['category'] }} {{ ','.join(content['authors']) }} {{ content['date'] }} {{ content['content_type'] }} {% if content['content_type'] == 'article' %} {% set edit_url = url_for('quokka.core.content.admin.articleview.edit_view', id=content['_id']) %} {% else %} {% set edit_url = url_for('quokka.core.content.admin.pageview.edit_view', id=content['_id']) %} {% endif %} {{_gettext('Edit')}} {{_gettext('View') if content['published'] else _gettext('Preview')}}
{% endblock %}