src/Cms/WorkflowsBundle/Resources/views/Dashboard/Drafts/includes/navbar.html.twig line 1

Open in your IDE?
  1. {% embed '@ui/common/navbars/default.html.twig' %}
  2.     {% block items %}
  3.         {% include '@ui/common/navbars/items/default.html.twig' with {
  4.             text: 'My Drafts',
  5.             active: app.request.get('_route') is same as(routes.my_drafts),
  6.             link: path(routes.my_drafts),
  7.         } %}
  8.         {% include '@ui/common/navbars/items/default.html.twig' with {
  9.             text: 'All Drafts',
  10.             active: app.request.get('_route') is same as(routes.drafts),
  11.             link: path(routes.drafts),
  12.         } %}
  13.         {% include '@ui/common/navbars/items/default.html.twig' with {
  14.             text: 'My Submissions',
  15.             active: app.request.get('_route') is same as(routes.my_submissions),
  16.             link: path(routes.my_submissions),
  17.         } %}
  18.         {% include '@ui/common/navbars/items/default.html.twig' with {
  19.             text: 'Review Queue',
  20.             active: app.request.get('_route') is same as(routes.submissions),
  21.             link: path(routes.submissions),
  22.         } %}
  23.         {% include '@ui/common/navbars/items/default.html.twig' with {
  24.             text: 'Scheduled Publications',
  25.             active: app.request.get('_route') is same as(routes.publications),
  26.             link: path(routes.publications),
  27.         } %}
  28.     {% endblock %}
  29. {% endembed %}