<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* component/product/list/table.html.twig */
class __TwigTemplate_6c2c8d0d97d077ce5c93afde903359af6337713a8e5a1ea0b1ce8f092cf17d34 extends \Twig\Template
{
public function __construct(Environment $env)
{
parent::__construct($env);
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->env->getExtension("Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension");
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "component/product/list/table.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->env->getExtension("Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension");
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "component/product/list/table.html.twig"));
// line 1
$context["enableCompare"] = $this->getAttribute((isset($context["client_config"]) ? $context["client_config"] : $this->getContext($context, "client_config")), "isTrue", [0 => "PROD_COMPARE"], "method");
// line 2
$context["designTemplate"] = $this->getAttribute($this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "getPartnerView", [], "method"), "getEshopDesignTemplate", [], "method");
// line 3
echo "<div class=\"listBoxed\">
";
// line 5
if (((isset($context["paginator"]) || array_key_exists("paginator", $context)) && $this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "showPaginator", [], "method"))) {
// line 6
echo " ";
$this->loadTemplate("component/shared/paginator/default.html.twig", "component/product/list/table.html.twig", 6)->display($context);
// line 7
echo " ";
}
// line 8
echo "
";
// line 9
if ((isset($context["paginator"]) || array_key_exists("paginator", $context))) {
// line 10
echo " ";
$this->loadTemplate("component/shared/paginator/extended.html.twig", "component/product/list/table.html.twig", 10)->display($context);
// line 11
echo " ";
}
// line 12
echo "
";
// line 13
if ($this->env->getExtension('EshopBundle\Twig\EshopDesignTemplateExtension')->isKutil()) {
// line 14
echo " <div class=\"productList productList--table\">
";
// line 15
$this->loadTemplate("/component/product/list/inner/table_inner.html.twig", "component/product/list/table.html.twig", 15)->display($context);
// line 16
echo " </div>
";
} else {
// line 18
echo " <div class=\"productList productList--rows\">
<table class=\"cCube table table--productList table-hover\">
<thead class=\"hidden-md-down\">
<tr>
";
// line 22
if ((((isset($context["favorites"]) || array_key_exists("favorites", $context)) && ((isset($context["favorites"]) ? $context["favorites"] : $this->getContext($context, "favorites")) === true)) || $this->env->getExtension('EshopBundle\Twig\EshopDesignTemplateExtension')->isButterfly())) {
// line 23
echo " <th class=\"image text-xs-center\">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "PRODUCT_TYPE_IMAGE", 1 => "Obrázek"], "method"), "html", null, true);
echo "</th>
";
}
// line 25
echo " <th class=\"sku text-xs-center\">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "PRODUCTS_SKU"], "method"), "html", null, true);
echo "</th>
<th class=\"title\">";
// line 26
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "NAZEV"], "method"), "html", null, true);
echo "</th>
<th class=\"stock text-xs-center\">";
// line 27
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "SKLAD"], "method"), "html", null, true);
echo "</th>
";
// line 28
if ($this->getAttribute((isset($context["settings"]) ? $context["settings"] : $this->getContext($context, "settings")), "priceIncVat", [])) {
// line 29
echo " <th class=\"price text-xs-right\">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "CENA_BEZ_DPH"], "method"), "html", null, true);
echo "</th>
<th class=\"priceVat text-xs-right\">";
// line 30
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "CENA_S_DPH"], "method"), "html", null, true);
echo "</th>
";
} else {
// line 32
echo " <th class=\"priceVat text-xs-right\">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "CENA_BEZ_DPH"], "method"), "html", null, true);
echo "</th>
<th class=\"price text-xs-right\">";
// line 33
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "CENA_S_DPH"], "method"), "html", null, true);
echo "</th>
";
}
// line 35
echo " ";
if ((isset($context["enableCompare"]) ? $context["enableCompare"] : $this->getContext($context, "enableCompare"))) {
// line 36
echo " <th class=\"compare text-xs-center\">";
echo twig_escape_filter($this->env, $this->getAttribute((isset($context["translator"]) ? $context["translator"] : $this->getContext($context, "translator")), "getValue", [0 => "POROVNAT", 1 => "Porovnat"], "method"), "html", null, true);
echo "</th>
";
}
// line 38
echo " <th></th>
</tr>
</thead>
<tbody>
";
// line 42
$this->loadTemplate("/component/product/list/inner/table_inner.html.twig", "component/product/list/table.html.twig", 42)->display($context);
// line 43
echo " </tbody>
</table>
</div>
";
}
// line 47
echo "
";
// line 48
if (((isset($context["paginator"]) || array_key_exists("paginator", $context)) && $this->getAttribute((isset($context["partner_config"]) ? $context["partner_config"] : $this->getContext($context, "partner_config")), "showPaginator", [], "method"))) {
// line 49
echo " ";
$this->loadTemplate("component/shared/paginator/default.html.twig", "component/product/list/table.html.twig", 49)->display($context);
// line 50
echo " ";
}
// line 51
echo "</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "component/product/list/table.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 160 => 51, 157 => 50, 154 => 49, 152 => 48, 149 => 47, 143 => 43, 141 => 42, 135 => 38, 129 => 36, 126 => 35, 121 => 33, 116 => 32, 111 => 30, 106 => 29, 104 => 28, 100 => 27, 96 => 26, 91 => 25, 85 => 23, 83 => 22, 77 => 18, 73 => 16, 71 => 15, 68 => 14, 66 => 13, 63 => 12, 60 => 11, 57 => 10, 55 => 9, 52 => 8, 49 => 7, 46 => 6, 44 => 5, 40 => 3, 38 => 2, 36 => 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 Source("{% set enableCompare = client_config.isTrue('PROD_COMPARE') %}
{% set designTemplate = partner_config.getPartnerView().getEshopDesignTemplate() %}
<div class=\"listBoxed\">
{% if paginator is defined and partner_config.showPaginator() %}
{% include 'component/shared/paginator/default.html.twig' %}
{% endif %}
{% if paginator is defined %}
{% include 'component/shared/paginator/extended.html.twig' %}
{% endif %}
{% if isDesignKutil() %}
<div class=\"productList productList--table\">
{% include '/component/product/list/inner/table_inner.html.twig' %}
</div>
{% else %}
<div class=\"productList productList--rows\">
<table class=\"cCube table table--productList table-hover\">
<thead class=\"hidden-md-down\">
<tr>
{% if (favorites is defined and favorites is same as (true)) or isDesignButterfly() %}
<th class=\"image text-xs-center\">{{ translator.getValue('PRODUCT_TYPE_IMAGE', 'Obrázek') }}</th>
{% endif %}
<th class=\"sku text-xs-center\">{{ translator.getValue('PRODUCTS_SKU') }}</th>
<th class=\"title\">{{ translator.getValue('NAZEV') }}</th>
<th class=\"stock text-xs-center\">{{ translator.getValue('SKLAD') }}</th>
{% if settings.priceIncVat %}
<th class=\"price text-xs-right\">{{ translator.getValue('CENA_BEZ_DPH') }}</th>
<th class=\"priceVat text-xs-right\">{{ translator.getValue('CENA_S_DPH') }}</th>
{% else %}
<th class=\"priceVat text-xs-right\">{{ translator.getValue('CENA_BEZ_DPH') }}</th>
<th class=\"price text-xs-right\">{{ translator.getValue('CENA_S_DPH') }}</th>
{% endif %}
{% if enableCompare %}
<th class=\"compare text-xs-center\">{{ translator.getValue('POROVNAT', 'Porovnat') }}</th>
{% endif %}
<th></th>
</tr>
</thead>
<tbody>
{% include '/component/product/list/inner/table_inner.html.twig' %}
</tbody>
</table>
</div>
{% endif %}
{% if paginator is defined and partner_config.showPaginator() %}
{% include 'component/shared/paginator/default.html.twig' %}
{% endif %}
</div>
", "component/product/list/table.html.twig", "/home/www/vac-star-b2c15/custom/src/EshopBundle/Resources/views/component/product/list/table.html.twig");
}
}