src/Cms/ModuleBundle/Resources/views/Dashboard/Modal/module.html.twig line 1

Open in your IDE?
  1. {% extends '@CmsModule/Dashboard/Modal/includes/modal.html.twig' %}
  2. {% block crumbs %}
  3.     <nav aria-label="breadcrumbs">
  4.         <ol class="breadcrumb">
  5.             {% for ancestor in ancestors %}
  6.                 <li>
  7.                     <a href="{{- curpath(routes.module, {
  8.                         containerId: ancestor.id
  9.                     }) -}}">{{ ancestor.name }}</a>
  10.                 </li>
  11.             {% endfor %}
  12.             <li class="active">{{ container.name }}</li>
  13.         </ol>
  14.     </nav>
  15. {% endblock %}
  16. {% block actions %}
  17.     {% if workflowSkipper %}
  18.         <a href="{{ curpath(routes.create) }}">+ Create Page</a>
  19.     {% endif %}
  20. {% endblock %}
  21. {% block body %}
  22.     <div class="table-responsive">
  23.         <table class="media">
  24.             <thead class="media__thead">
  25.                 <tr class="media__row">
  26.                     <th class="media__details">
  27.                         <div class="">Filename</div>
  28.                     </th>
  29.                     <th class="media__datetime">
  30.                         <div class="">Date</div>
  31.                     </th>
  32.                     <th class="media__actions"></th>
  33.                 </tr>
  34.             </thead>
  35.             <tbody class="media__tbody">
  36.                 {% for item in items %}
  37.                     {% include '@CmsModule/Dashboard/Modal/includes/item.html.twig' with {
  38.                         title: item.data.title,
  39.                         link: web_url_view(item).withHost('').withScheme('')|trim,
  40.                         timestamp: item.timestampedAt,
  41.                     } %}
  42.                 {% endfor %}
  43.             </tbody>
  44.         </table>
  45.     </div>
  46. {% endblock %}