30 lines
774 B
Twig
30 lines
774 B
Twig
{% extends '@novaconium/master.html.twig' %}
|
|
|
|
{% block content %}
|
|
<h1>{{title}}</h1>
|
|
<table class="pages-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Title</th>
|
|
<th>Created</th>
|
|
<th>Updated</th>
|
|
<th>Draft</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for page in pages %}
|
|
<tr>
|
|
<td><a href="/novaconium/page/edit/{{ page.id }}">{{ page.title }}</a></td>
|
|
<td>{{ page.created }}</td>
|
|
<td>{{ page.updated|default('Not updated') }}</td>
|
|
<td>{{ page.draft ? 'Draft' : 'Published' }}</td>
|
|
</tr>
|
|
{% else %}
|
|
<tr>
|
|
<td colspan="6">No pages found.</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|