<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
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;
/* ECommerce/App/Product/index.html.twig */
class __TwigTemplate_7d23cc0c3ed6ef46a8e71d0033725d86 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/index.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/index.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "ECommerce/App/Product/index.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo " ";
// line 13
echo "
";
// line 15
echo " ";
// line 16
echo " ";
// line 17
echo " ";
// line 18
echo " ";
// line 19
echo " ";
// line 20
echo " ";
// line 21
echo " ";
// line 22
echo " ";
// line 23
echo " ";
// line 24
echo " ";
// line 25
echo " ";
// line 26
echo " ";
// line 27
echo " ";
// line 28
echo " ";
// line 29
echo " ";
// line 30
echo " ";
// line 31
echo " <!-- search tips -->
<div class=\"container-fluid\" id=\"\">
<div class=\"row\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<h3 class=\"page-title search-tips-title\">
";
// line 38
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_tips.title", [], "ECommerceBundle"), "html", null, true);
echo "
</h3>
</div>
";
// line 42
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\SearchTipController::indexAction"));
echo "
</div>
</div>
</div>
</div>
<!-- / -->
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "ECommerce/App/Product/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 121 => 42, 114 => 38, 105 => 31, 103 => 30, 101 => 29, 99 => 28, 97 => 27, 95 => 26, 93 => 25, 91 => 24, 89 => 23, 87 => 22, 85 => 21, 83 => 20, 81 => 19, 79 => 18, 77 => 17, 75 => 16, 73 => 15, 70 => 13, 68 => 6, 58 => 5, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% trans_default_domain 'ECommerceBundle' %}
{% block body %}
{#<div>
<div class=\"row\">
<div class=\"col-md-12\">
{% include 'ECommerce/App/Product/index.ajax.twig' %}
</div>
</div>
</div>#}
{#{% if not is_granted('ROLE_USER') %}#}
{#<div class=\"container mt-5\">#}
{#<div class=\"row\">#}
{#<div class=\"col-12\">#}
{#<div class=\"alert alert-primary\" role=\"alert\">#}
{#Please <a href=\"{{ path('fos_user_security_login') }}\">login</a> or <a#}
{#href=\"{{ path('fos_user_registration_register') }}\">register</a>#}
{#to be able to search and purchase product from our store.#}
{#<br>#}
{#You can even <a href=\"{{ path('mdl_app_guest') }}\">order without#}
{#registration</a> without discount by clicking on <a#}
{#href=\"{{ path('mdl_app_guest') }}\">link</a>.#}
{#</div>#}
{#</div>#}
{#</div>#}
{#</div>#}
{#{% else %}#}
<!-- search tips -->
<div class=\"container-fluid\" id=\"\">
<div class=\"row\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-12\">
<h3 class=\"page-title search-tips-title\">
{{ 'search_tips.title'|trans }}
</h3>
</div>
{{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\SearchTipController::indexAction')) }}
</div>
</div>
</div>
</div>
<!-- / -->
{#{% endif %}#}
{% endblock %}
", "ECommerce/App/Product/index.html.twig", "/var/www/rs.optima.staging/templates/ECommerce/App/Product/index.html.twig");
}
}