2022-06-23 14:34:01 +02:00
|
|
|
{% if authorize(['admin.pages.list', 'admin.pages', 'admin.super']) %}
|
2022-04-24 14:32:58 +02:00
|
|
|
<div id="latest">
|
|
|
|
<div class="button-bar">
|
|
|
|
<a class="button" href="{{ admin_route('/pages') }}"><i class="fa fa-fw fa-file-text-o"></i>{{ "PLUGIN_ADMIN.MANAGE_PAGES"|t }}</a>
|
|
|
|
</div>
|
|
|
|
<h1>{{ "PLUGIN_ADMIN.LATEST_PAGE_UPDATES"|t }}</h1>
|
|
|
|
<table>
|
|
|
|
{% for latest in admin.latestPages if admin.latestPages %}
|
|
|
|
{% set route = latest.rawRoute %}
|
|
|
|
<tr>
|
|
|
|
<td class="triple page-title">
|
|
|
|
<a href="{{ admin_route('/pages/' ~ route|trim('/')) }}"><i class="fa fa-fw fa-file-text-o"></i> {{ latest.title }}</a></td>
|
|
|
|
<td class="triple page-route">{{ route }}</td><td>{{ latest.modified|adminNicetime }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|