vendor/uvdesk/support-center-bundle/Resources/views/Knowledgebase/categoryListing.html.twig line 1

Open in your IDE?
  1. {% extends "@UVDeskSupportCenter/Templates/layout.html.twig" %}
  2. {% block title %}Categories{% endblock %}
  3. {% block ogtitle %}Categories{% endblock %}
  4. {% block twtitle %}Categories{% endblock %}
  5. {% block body %}
  6.     <div class="uv-paper-article">
  7.         <div class="uv-paper-section">
  8.             <section>
  9.                 <h1 class="uv-folder-title" data-count="{{ categoryCount }} {{"Categories"|trans}}">{{ 'Kategorie' }}</h1>
  10.                 <p>{{ 'Browse articles by categories'|trans }}</p>
  11.             </section>
  12.             <section class="uv-margin-top-30">
  13.                 <!-- <h4>{{ 'CATEGORIES'|trans }}</h4> -->
  14.                 {% if categories is defined and categories is not empty %}
  15.                     <ul>
  16.                         {% for category in categories %}
  17.                             <li>
  18.                                 <a href="{{ path('helpdesk_knowledgebase_category', {'category': category.id}) }}">
  19.                                     {{ category.name }}
  20.                                 </a>
  21.                             </li>
  22.                         {% endfor %}
  23.                     </ul>
  24.                 {% else %}
  25.                     <p>{{ "No Categories Found!"|trans }}</p>
  26.                 {% endif %}
  27.             </section>
  28.         </div>
  29.         {# TODO: Implement popular articles }
  30.         {# {% include "WebkulDefaultBundle:Front:popularArticle.html.twig" %} #}
  31.     </div>
  32.     {{parent()}}
  33. {% endblock %}