{% extends "@UVDeskSupportCenter/Templates/layout.html.twig" %} {% block canonical %} {% if article.slug %} {{ url('helpdesk_knowledgebase_read_slug_article', {'slug':article.slug }) }} {% endif %} {% endblock %} {% block ogcanonical %} {% if article.slug %} {{ url('helpdesk_knowledgebase_read_slug_article', {'slug':article.slug }) }} {% endif %} {% endblock %} {% block title %}{{ article.metaTitle ? article.metaTitle : article.name }}{% endblock %} {% block ogtitle %}{{ article.metaTitle ? article.metaTitle : article.name }}{% endblock %} {% block twtitle %}{{ article.metaTitle ? article.metaTitle : article.name }}{% endblock %} {% block metaDescription %}{{ article.metaDescription ? article.metaDescription : uvdesk_service.createConentToKeywords(article.content, 255, true)|join(' ') }}{% endblock %} {% block metaKeywords %}{{ article.keywords ? : uvdesk_service.createConentToKeywords(article.content) }}{% endblock %} {% block body %}

{{ article.name }}

{{ article.content |raw }}

{% if articleAuthor is defined and articleAuthor is not empty %}
{% if articleAuthor.user.profileImage is defined and articleAuthor.user.profileImage %} {% else %} {% endif %}

{{ articleAuthor.firstName | capitalize }} {{ articleAuthor.lastName | capitalize }}

{{"Published on"|trans}} - {{dateAdded}}

{% endif %}
{% if feedbacks is defined and feedbacks.enabled == true %}
{% if feedbacks.submitted == true %}

Thank you for your feedback!

{% endif %}
{% endif %} {# {% set companyDisqus = application_service.getCompanyDisqus() %} {% if companyDisqus is defined and companyDisqus is not empty %} {% if companyDisqus.ticketConversion is defined and companyDisqus.ticketConversion == true %}
{{ knp_disqus_render(companyDisqus.website, {'id': "article-{{ article.id }}", 'limit': 10, 'newCommentCallbackFunctionName': 'disqusCommentCallback'}) }}
{% else %}
{{ knp_disqus_render(companyDisqus.website, {'id': "article-{{ article.id }}", 'limit': 10}) }}
{% endif %} {% endif %} #}
{% include "@UVDeskSupportCenter/Templates/sidepanel.html.twig" %}
{{ parent() }} {% endblock %} {% block footer %} {{ parent() }} {# Article Feedbacks #} {% if feedbacks is defined and feedbacks.enabled == true and feedbacks.submitted == false %} {% endif %} {% endblock %}