var/cache/dev/twig/ae/aec95e28d83fef43dd6c0952fffe43de.php line 58

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* ECommerce/App/Product/index.html.twig */
  14. class __TwigTemplate_7d23cc0c3ed6ef46a8e71d0033725d86 extends Template
  15. {
  16. private $source;
  17. private $macros = [];
  18. public function __construct(Environment $env)
  19. {
  20. parent::__construct($env);
  21. $this->source = $this->getSourceContext();
  22. $this->blocks = [
  23. 'body' => [$this, 'block_body'],
  24. ];
  25. }
  26. protected function doGetParent(array $context)
  27. {
  28. // line 1
  29. return "base.html.twig";
  30. }
  31. protected function doDisplay(array $context, array $blocks = [])
  32. {
  33. $macros = $this->macros;
  34. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/index.html.twig"));
  36. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/index.html.twig"));
  38. $this->parent = $this->loadTemplate("base.html.twig", "ECommerce/App/Product/index.html.twig", 1);
  39. $this->parent->display($context, array_merge($this->blocks, $blocks));
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42. }
  43. // line 5
  44. public function block_body($context, array $blocks = [])
  45. {
  46. $macros = $this->macros;
  47. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  49. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  51. // line 6
  52. echo " ";
  53. // line 13
  54. echo "
  55. ";
  56. // line 15
  57. echo " ";
  58. // line 16
  59. echo " ";
  60. // line 17
  61. echo " ";
  62. // line 18
  63. echo " ";
  64. // line 19
  65. echo " ";
  66. // line 20
  67. echo " ";
  68. // line 21
  69. echo " ";
  70. // line 22
  71. echo " ";
  72. // line 23
  73. echo " ";
  74. // line 24
  75. echo " ";
  76. // line 25
  77. echo " ";
  78. // line 26
  79. echo " ";
  80. // line 27
  81. echo " ";
  82. // line 28
  83. echo " ";
  84. // line 29
  85. echo " ";
  86. // line 30
  87. echo " ";
  88. // line 31
  89. echo " <!-- search tips -->
  90. <div class=\"container-fluid\" id=\"\">
  91. <div class=\"row\">
  92. <div class=\"container\">
  93. <div class=\"row\">
  94. <div class=\"col-md-12\">
  95. <h3 class=\"page-title search-tips-title\">
  96. ";
  97. // line 38
  98. echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("search_tips.title", [], "ECommerceBundle"), "html", null, true);
  99. echo "
  100. </h3>
  101. </div>
  102. ";
  103. // line 42
  104. echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\ECommerce\\App\\SearchTipController::indexAction"));
  105. echo "
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. <!-- / -->
  111. ";
  112. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  114. }
  115. public function getTemplateName()
  116. {
  117. return "ECommerce/App/Product/index.html.twig";
  118. }
  119. public function isTraitable()
  120. {
  121. return false;
  122. }
  123. public function getDebugInfo()
  124. {
  125. 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,);
  126. }
  127. public function getSourceContext()
  128. {
  129. return new Source("{% extends 'base.html.twig' %}
  130. {% trans_default_domain 'ECommerceBundle' %}
  131. {% block body %}
  132. {#<div>
  133. <div class=\"row\">
  134. <div class=\"col-md-12\">
  135. {% include 'ECommerce/App/Product/index.ajax.twig' %}
  136. </div>
  137. </div>
  138. </div>#}
  139. {#{% if not is_granted('ROLE_USER') %}#}
  140. {#<div class=\"container mt-5\">#}
  141. {#<div class=\"row\">#}
  142. {#<div class=\"col-12\">#}
  143. {#<div class=\"alert alert-primary\" role=\"alert\">#}
  144. {#Please <a href=\"{{ path('fos_user_security_login') }}\">login</a> or <a#}
  145. {#href=\"{{ path('fos_user_registration_register') }}\">register</a>#}
  146. {#to be able to search and purchase product from our store.#}
  147. {#<br>#}
  148. {#You can even <a href=\"{{ path('mdl_app_guest') }}\">order without#}
  149. {#registration</a> without discount by clicking on <a#}
  150. {#href=\"{{ path('mdl_app_guest') }}\">link</a>.#}
  151. {#</div>#}
  152. {#</div>#}
  153. {#</div>#}
  154. {#</div>#}
  155. {#{% else %}#}
  156. <!-- search tips -->
  157. <div class=\"container-fluid\" id=\"\">
  158. <div class=\"row\">
  159. <div class=\"container\">
  160. <div class=\"row\">
  161. <div class=\"col-md-12\">
  162. <h3 class=\"page-title search-tips-title\">
  163. {{ 'search_tips.title'|trans }}
  164. </h3>
  165. </div>
  166. {{ render(controller('App\\\\Controller\\\\ECommerce\\\\App\\\\SearchTipController::indexAction')) }}
  167. </div>
  168. </div>
  169. </div>
  170. </div>
  171. <!-- / -->
  172. {#{% endif %}#}
  173. {% endblock %}
  174. ", "ECommerce/App/Product/index.html.twig", "/var/www/rs.optima.staging/templates/ECommerce/App/Product/index.html.twig");
  175. }
  176. }