dashboard-pages.html.twig 919 B

12345678910111213141516171819
  1. {% if authorize(['admin.pages', 'admin.super']) %}
  2. <div id="latest">
  3. <div class="button-bar">
  4. <a class="button" href="{{ base_url_relative }}/pages"><i class="fa fa-fw fa-file-text-o"></i>{{ "PLUGIN_ADMIN.MANAGE_PAGES"|tu }}</a>
  5. </div>
  6. <h1>{{ "PLUGIN_ADMIN.LATEST_PAGE_UPDATES"|tu }}</h1>
  7. <table>
  8. {% for latest in admin.latestPages if admin.latestPages %}
  9. <tr>
  10. <td class="triple page-title">
  11. <a href="{{ base_url }}/pages/{{ latest.route|trim('/') }}"><i class="fa fa-fw fa-file-text-o"></i> {{ latest.title|e }}</a></td>
  12. <td class="triple page-route">{{ latest.route }}</td><td>{{ latest.modified|adminNicetime }}</td>
  13. </tr>
  14. {% endfor %}
  15. </table>
  16. </div>
  17. {% else %}
  18. <div class="padding">You don't have sufficient access to view the dashboard...</div>
  19. {% endif %}