vendor/uvdesk/support-center-bundle/Resources/views/Templates/breadcrumbs.html.twig line 1

Open in your IDE?
  1. {% if breadcrumbs is defined %}
  2. <form method="get" action="{{ path('helpdesk_knowledgebase_search') }}">
  3. <div class="uv-nav-bar">
  4. <div class="uv-container">
  5. <div class="uv-nav-bar-lt">
  6. <ul>
  7. {% for key, breadcrumb in breadcrumbs %}
  8. {% if key == (breadcrumbs|length - 1) %}
  9. {% if app.request.headers.get('referer') and app.request.headers.get('host') in app.request.headers.get('referer') %}
  10. <li><a href="{{ app.request.headers.get('referer') }}">{{ "Prev"|trans }}</a></li>
  11. {% endif %}
  12. {% endif %}
  13. <li><a href="{{ breadcrumb.url }}">{{ breadcrumb.label }}</a></li>
  14. {% endfor %}
  15. </ul>
  16. </div>
  17. <div class="uv-nav-bar-rt">
  18. <input class="uv-nav-search" name="s" type="text" placeholder="{{ "Search KnowledgeBase"|trans }}" value="{{ app.request.query.get('s') }}">
  19. </div>
  20. </div>
  21. </div>
  22. </form>
  23. {% endif %}