src/Products/NotificationsBundle/Resources/views/dashboard/lists/view.html.twig line 1

Open in your IDE?
  1. {% extends '@ProductsNotifications/base.html.twig' %}
  2. {% import '@ProductsNotifications/dashboard/recipients/_macros.html.twig' as macros %}
  3. {% block header %}
  4.     {% embed '@ui2022/page__header.html.twig' with {
  5.         title: list.name,
  6.         crumbs: {
  7.             items: [
  8.                 {
  9.                     text: 'Lists',
  10.                     link: path('app.notifications.dashboard.lists.main'),
  11.                 },
  12.                 {
  13.                     text: 'Browse Contacts',
  14.                     link: path('app.notifications.dashboard.lists.view', {
  15.                         list: list.id,
  16.                     }),
  17.                 },
  18.             ],
  19.         },
  20.     } %}{% endembed %}
  21. {% endblock %}
  22. {% block content %}
  23.     <div class="row">
  24.         <div class="col">
  25.             {% include '@ProductsNotifications/dashboard/%s/includes/_filter.html.twig'|format(itemType) %}
  26.             <div id="{{ form.vars.id }}__results">
  27.                 {% include '@ProductsNotifications/dashboard/%s/includes/_results.html.twig'|format(itemType) with {
  28.                     sidepanel: 'sidepanel__result_view',
  29.                     (itemType): items,
  30.                 } %}
  31.             </div>
  32.         </div>
  33.     </div>
  34. {% endblock %}
  35. {% block modals %}
  36.     {{ parent() }}
  37.     {% include '@ui2022/schoolnow/modal--sidepanel.html.twig' with {
  38.         attr: {
  39.             id: 'sidepanel__result_view',
  40.         },
  41.     } %}
  42. {% endblock %}