vendor/uvdesk/support-center-bundle/Resources/views/Knowledgebase/folderArticle.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="{{articlesCount}} {{"Articles"|trans}}">{{folder.name}}</h1>
  12.                 <p>{{folder.description}}</p>
  13.             </section>
  14.             <section class="uv-margin-top-30">
  15.                 <h4>{{'ARTICLES'|trans}}</h4>
  16.                 {% if articles %}
  17.                     <ul>
  18.                         {% for article in articles %}
  19.                             {# <li> {% if article.stared %}<span class="uv-icon-star uv-pre"></span>{% endif %} <a href="{{path('helpdesk_knowledgebase_read_article', {'article': article.id})}}">{{article.name}}</a></li> #}
  20.                             <li> {% if article.stared %}
  21.                                 <span class="uv-icon-star uv-pre"></span>
  22.                                 {% endif %}
  23.                                     <a href="{{path('helpdesk_knowledgebase_read_slug_article', {'slug': article.slug})}}">
  24.                                         {{ article.name }}
  25.                                     </a>
  26.                             </li>
  27.                         {% endfor %}
  28.                     </ul>
  29.                 {% else %}
  30.                     <p>{{"No Article Found!"|trans}}</p>
  31.                 {% endif %}
  32.             </section>
  33.         </div>
  34.     </div>
  35.     
  36.     {{ parent() }}
  37. {% endblock %}