<?php

/* @UVDeskSupportCenter/Themes/articleView.html.twig */
class __TwigTemplate_bd3e40efb76bb15b2f9152ec80f5f06320b27c088758497658bd3d39b7fb8102 extends Twig_Template
{
    private $source;

    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new Twig_Profiler_Profile($this->getTemplateName(), "template", "@UVDeskSupportCenter/Themes/articleView.html.twig"));

        // line 1
        echo "<div class=\"uv-kb-section\">
\t<div class=\"uv-kb-section-layout uv-kb-layout-article\">
\t\t<div class=\"uv-kb-folder\">
\t\t\t<h2>";
        // line 4
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Popular Articles"), "html", null, true);
        echo "</h2>
\t\t\t<p>";
        // line 5
        echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Here are some of the most popular articles, which helped number of users to get their queries and questions resolved."), "html", null, true);
        echo "</p>
\t\t\t<ul>
    \t\t\t";
        // line 7
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(($context["popArticles"] ?? null));
        foreach ($context['_seq'] as $context["_key"] => $context["popArticle"]) {
            // line 8
            echo "\t\t\t\t\t<li><a href=\"";
            echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("helpdesk_knowledgebase_read_article", ["article" => twig_get_attribute($this->env, $this->source, $context["popArticle"], "id", [])]), "html", null, true);
            echo "\"> ";
            if (twig_get_attribute($this->env, $this->source, $context["popArticle"], "stared", [])) {
                echo "<span class=\"uv-icon-star uv-pre\"></span>";
            }
            echo " ";
            echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["popArticle"], "name", []), "html", null, true);
            echo "</a></li>
    \t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['popArticle'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 10
        echo "\t\t\t</ul>
\t\t</div>
\t</div>
</div>";
        
        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);

    }

    public function getTemplateName()
    {
        return "@UVDeskSupportCenter/Themes/articleView.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  59 => 10,  44 => 8,  40 => 7,  35 => 5,  31 => 4,  26 => 1,);
    }

    public function getSourceContext()
    {
        return new Twig_Source("<div class=\"uv-kb-section\">
\t<div class=\"uv-kb-section-layout uv-kb-layout-article\">
\t\t<div class=\"uv-kb-folder\">
\t\t\t<h2>{{\"Popular Articles\"|trans}}</h2>
\t\t\t<p>{{\"Here are some of the most popular articles, which helped number of users to get their queries and questions resolved.\"|trans}}</p>
\t\t\t<ul>
    \t\t\t{% for popArticle in popArticles %}
\t\t\t\t\t<li><a href=\"{{path('helpdesk_knowledgebase_read_article', {'article': popArticle.id})}}\"> {% if popArticle.stared %}<span class=\"uv-icon-star uv-pre\"></span>{% endif %} {{ popArticle.name }}</a></li>
    \t\t\t{% endfor %}
\t\t\t</ul>
\t\t</div>
\t</div>
</div>", "@UVDeskSupportCenter/Themes/articleView.html.twig", "/home/users/akshay.kumar/Workstation/apps/uvdesk/releases/uvdesk_community_01_development_php_72/vendor/uvdesk/support-center-bundle/Resources/views/Themes/articleView.html.twig");
    }
}
