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

Open in your IDE?
  1. {% extends "@UVDeskSupportCenter/Templates/layout.html.twig" %}
  2. {% block title %}{{folder.name}}{% endblock %}
  3. {% block ogtitle %}{{folder.name}}{% endblock %}
  4. {% block twtitle %}{{folder.name}}{% endblock %}
  5. {% block metaDescription %}{{folder.description}}{% endblock %}
  6. {% block metaKeywords %}{{ uvdesk_service.createConentToKeywords(folder.description)}}{% endblock %}
  7. {% block body %} 
  8.     <div class="uv-paper-article">
  9.         <div class="uv-paper-section">
  10.             <section>
  11.                 <h1 class="uv-folder-title" data-count="{{categoryCount}} {{"Categories"|trans}}">{{folder.name}}</h1>
  12.                 <p>{{folder.description}}</p>
  13.             </section>
  14.             <section class="uv-margin-top-30">
  15.                 <h4>{{'CATEGORIES'|trans}}</h4>
  16.                 {% if categories %}
  17.                     <ul>
  18.                         {% for category in categories %}
  19.                             <li><a href="{{path('helpdesk_knowledgebase_category', {'category': category.id})}}">{{category.name}}</a></li>
  20.                         {% endfor %}
  21.                     </ul>
  22.                 {% else %}
  23.                     <p>{{"No Category Found!"|trans}}</p>
  24.                 {% endif %}
  25.             </section>
  26.         </div>
  27.     </div>
  28.     {{ parent() }}
  29. {% endblock %}