<?php

/* @particles/feedback2.html.twig */
class __TwigTemplate_8fbc5ff14c784391e38c5d1d1de5d699b22122db6ccc137f4becd68486b9b82f extends Twig_Template
{
    public function __construct(Twig_Environment $env)
    {
        parent::__construct($env);

        // line 1
        $this->parent = $this->loadTemplate("@nucleus/partials/particle.html.twig", "@particles/feedback2.html.twig", 1);
        $this->blocks = array(
            'particle' => array($this, 'block_particle'),
        );
    }

    protected function doGetParent(array $context)
    {
        return "@nucleus/partials/particle.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = array())
    {
        // line 3
        $context["attr_extra"] = "";
        // line 4
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            // line 5
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($this->getAttribute(($context["particle"] ?? null), "extra", array()));
            foreach ($context['_seq'] as $context["_key"] => $context["attributes"]) {
                // line 6
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($context["attributes"]);
                foreach ($context['_seq'] as $context["key"] => $context["value"]) {
                    // line 7
                    $context["attr_extra"] = (((((($context["attr_extra"] ?? null) . " ") . twig_escape_filter($this->env, $context["key"])) . "=\"") . twig_escape_filter($this->env, $context["value"], "html_attr")) . "\"");
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attributes'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
        }
        // line 12
        ob_start();
        // line 13
        echo "\t<div class=\"g-particle-intro\">
\t\t";
        // line 14
        if ($this->getAttribute(($context["particle"] ?? null), "mainheading", array())) {
            // line 15
            echo "\t\t\t<h3 class=\"g-title g-main-title\">";
            echo $this->getAttribute(($context["particle"] ?? null), "mainheading", array());
            echo "</h3>
\t\t\t<div class=\"g-title-separator ";
            // line 16
            if (($this->getAttribute(($context["particle"] ?? null), "introtext", array()) == false)) {
                echo "no-intro-text";
            }
            echo "\"></div>
\t\t";
        }
        // line 17
        echo "\t
\t\t";
        // line 18
        if ($this->getAttribute(($context["particle"] ?? null), "introtext", array())) {
            echo "<p class=\"g-introtext\">";
            echo $this->getAttribute(($context["particle"] ?? null), "introtext", array());
            echo "</p>";
        }
        // line 19
        echo "\t</div>
";
        $context["particleheading"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    // line 22
    public function block_particle($context, array $blocks = array())
    {
        // line 23
        echo "\t<div class=\"g-feedback2";
        if ($this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array())) {
            echo " ";
            echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute(($context["particle"] ?? null), "css", array()), "class", array()));
        }
        echo "\" ";
        if ($this->getAttribute(($context["particle"] ?? null), "extra", array())) {
            echo ($context["attr_extra"] ?? null);
        }
        echo ">
\t\t";
        // line 24
        if (($this->getAttribute(($context["particle"] ?? null), "mainheading", array()) || $this->getAttribute(($context["particle"] ?? null), "introtext", array()))) {
            // line 25
            echo "\t\t\t";
            echo twig_escape_filter($this->env, ($context["particleheading"] ?? null), "html", null, true);
            echo "
\t\t";
        }
        // line 27
        echo "\t\t";
        $context['_parent'] = $context;
        $context['_seq'] = twig_ensure_traversable(twig_array_batch($this->getAttribute(($context["particle"] ?? null), "items", array()), twig_escape_filter($this->env, (($this->getAttribute(($context["particle"] ?? null), "columns", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute(($context["particle"] ?? null), "columns", array()), "2")) : ("2")))));
        foreach ($context['_seq'] as $context["_key"] => $context["row"]) {
            // line 28
            echo "\t\t\t<div class=\"g-grid\">
\t\t\t\t";
            // line 29
            $context['_parent'] = $context;
            $context['_seq'] = twig_ensure_traversable($context["row"]);
            foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
                // line 30
                echo "\t\t\t\t\t";
                $context["attr_extra_item"] = "";
                // line 31
                echo "\t\t\t\t\t";
                $context['_parent'] = $context;
                $context['_seq'] = twig_ensure_traversable($this->getAttribute($context["item"], "extra", array()));
                foreach ($context['_seq'] as $context["_key"] => $context["extra"]) {
                    // line 32
                    echo "\t\t\t\t\t\t";
                    $context["attr_extra_item"] = (((((($context["attr_extra_item"] ?? null) . " ") . twig_escape_filter($this->env, twig_first($this->env, twig_get_array_keys_filter($context["extra"])))) . "=\"") . twig_escape_filter($this->env, twig_first($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->valuesFilter($context["extra"])), "html_attr")) . "\"");
                    // line 33
                    echo "\t\t\t\t\t";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_iterated'], $context['_key'], $context['extra'], $context['_parent'], $context['loop']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 34
                echo "\t\t\t\t\t<div class=\"g-block";
                if ($this->getAttribute($context["item"], "class", array())) {
                    echo " ";
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "class", array()));
                }
                echo "\" ";
                if ($this->getAttribute($context["item"], "extra", array())) {
                    echo ($context["attr_extra_item"] ?? null);
                }
                echo ">
\t\t\t\t\t\t<div class=\"g-content\">
\t\t\t\t\t\t\t<div class=\"g-feedback-item\">\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t\t";
                // line 37
                if ($this->getAttribute($context["item"], "image", array())) {
                    // line 38
                    echo "\t\t\t\t\t\t\t\t\t<div class=\"g-user-image\">
\t\t\t\t\t\t\t\t\t\t<img alt=\"";
                    // line 39
                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "alt", array()));
                    echo "\" src=\"";
                    echo twig_escape_filter($this->env, $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->urlFunc($this->getAttribute($context["item"], "image", array())), "html", null, true);
                    echo "\" ";
                    echo $this->env->getExtension('Gantry\Component\Twig\TwigExtension')->imageSize($this->getAttribute($context["item"], "image", array()));
                    echo ">
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                }
                // line 42
                echo "
\t\t\t\t\t\t\t\t";
                // line 43
                if (($this->getAttribute($context["item"], "feedback", array()) || $this->getAttribute($context["item"], "customername", array()))) {
                    // line 44
                    echo "\t\t\t\t\t\t\t\t\t<div class=\"g-feeback-container\">
\t\t\t\t\t\t\t\t\t\t";
                    // line 45
                    if ($this->getAttribute($context["item"], "feedback", array())) {
                        // line 46
                        echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-feedback-text\">";
                        // line 47
                        echo $this->getAttribute($context["item"], "feedback", array());
                        // line 48
                        echo "</div>
\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 50
                    echo "
\t\t\t\t\t\t\t\t\t\t";
                    // line 51
                    if ((($this->getAttribute($context["item"], "customername", array()) || $this->getAttribute($context["item"], "position", array())) || $this->getAttribute($context["item"], "company", array()))) {
                        // line 52
                        echo "\t\t\t\t\t\t\t\t\t\t\t<div class=\"g-user-details\">";
                        // line 53
                        if ($this->getAttribute($context["item"], "customername", array())) {
                            // line 54
                            echo "<div class=\"g-user-name\">";
                            // line 55
                            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "customername", array()));
                            // line 56
                            echo "</div>";
                        }
                        // line 59
                        if (($this->getAttribute($context["item"], "position", array()) || $this->getAttribute($context["item"], "company", array()))) {
                            // line 60
                            echo "<div class=\"g-user-company\">";
                            // line 61
                            echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "position", array()));
                            if (($this->getAttribute($context["item"], "company", array()) && $this->getAttribute($context["item"], "position", array()))) {
                                echo " - ";
                            }
                            // line 63
                            if ($this->getAttribute($context["item"], "company", array())) {
                                // line 64
                                if ($this->getAttribute($context["item"], "companylink", array())) {
                                    // line 65
                                    echo "<a target=\"";
                                    echo twig_escape_filter($this->env, (($this->getAttribute($context["item"], "target", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($context["item"], "target", array()), "_parent")) : ("_parent")));
                                    echo "\" href=\"";
                                    echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "companylink", array()));
                                    echo "\">";
                                }
                                // line 67
                                echo twig_escape_filter($this->env, $this->getAttribute($context["item"], "company", array()));
                                // line 68
                                if ($this->getAttribute($context["item"], "companylink", array())) {
                                    // line 69
                                    echo "</a>";
                                }
                            }
                            // line 72
                            echo "</div>";
                        }
                        // line 74
                        echo "</div>
\t\t\t\t\t\t\t\t\t\t";
                    }
                    // line 76
                    echo "\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t";
                }
                // line 77
                echo "\t\t\t\t\t\t\t\t
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 82
            echo "\t\t\t</div>
\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 84
        echo "\t</div>
";
    }

    public function getTemplateName()
    {
        return "@particles/feedback2.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  255 => 84,  248 => 82,  238 => 77,  234 => 76,  230 => 74,  227 => 72,  223 => 69,  221 => 68,  219 => 67,  212 => 65,  210 => 64,  208 => 63,  203 => 61,  201 => 60,  199 => 59,  196 => 56,  194 => 55,  192 => 54,  190 => 53,  188 => 52,  186 => 51,  183 => 50,  179 => 48,  177 => 47,  175 => 46,  173 => 45,  170 => 44,  168 => 43,  165 => 42,  155 => 39,  152 => 38,  150 => 37,  136 => 34,  130 => 33,  127 => 32,  122 => 31,  119 => 30,  115 => 29,  112 => 28,  107 => 27,  101 => 25,  99 => 24,  87 => 23,  84 => 22,  80 => 1,  76 => 19,  70 => 18,  67 => 17,  60 => 16,  55 => 15,  53 => 14,  50 => 13,  48 => 12,  37 => 7,  33 => 6,  29 => 5,  27 => 4,  25 => 3,  11 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Twig_Source("", "@particles/feedback2.html.twig", "/home/isfmp/public_html/welthaus/templates/it_construction/particles/feedback2.html.twig");
    }
}
