var/cache/dev/twig/22/2296708681896859e0f0aa0762a0f81e.php line 57

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* ECommerce/App/Product/large_icons.html.twig */
  16. class __TwigTemplate_747c5d11975721af9555134a093b2761 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'body' => [$this, 'block_body'],
  29. 'javascripts' => [$this, 'block_javascripts'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/large_icons.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "ECommerce/App/Product/large_icons.html.twig"));
  44. // line 5
  45. $macros["͜macros"] = $this->macros["͜macros"] = $this->load("ECommerce/App/Product/macros.html.twig", 5)->unwrap();
  46. // line 1
  47. $this->parent = $this->load("base.html.twig", 1);
  48. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51. }
  52. // line 7
  53. /**
  54. * @return iterable<null|scalar|\Stringable>
  55. */
  56. public function block_body(array $context, array $blocks = []): iterable
  57. {
  58. $macros = $this->macros;
  59. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  60. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  63. // line 8
  64. yield " <div class=\"container-fluid\">
  65. <div class=\"row\">
  66. <div class=\"container\">
  67. <div class=\"content\">
  68. <div class=\"container\">
  69. <div class=\"row position-relative\">
  70. <div class=\"col product-index-col pr-0\">
  71. <div class=\"row p-0 blog-post-content align-items-start\">
  72. <div class=\"p-0 product-index-table border-left-2 w-100\">
  73. <div class=\"row p-0 pl-5 position-relative\">
  74. <img src=\"";
  75. // line 20
  76. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/shop-hero.png"), "html", null, true);
  77. yield "\" class=\"img-fluid w-100\" alt=\"Shop Hero\" />
  78. <div class=\"shop-hero-captions\">
  79. <h1>";
  80. // line 23
  81. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.shop-hero-title", [], "ECommerceBundle"), "html", null, true);
  82. yield "</h1>
  83. </div>
  84. </div>
  85. <div class=\"row table-headline p-0 pl-3 pb-5\">
  86. ";
  87. // line 27
  88. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 27, $this->source); })()), 'form_start');
  89. yield "
  90. <div class=\"col-2 p-0 sidebar-part\">
  91. <button class=\"sidebar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#sidebar-part\" aria-controls=\"sidebar-part\" aria-expanded=\"false\" aria-label=\"Toggle sidebar part\">
  92. <span class=\"sidebar-toggler-icon\"></span>";
  93. // line 31
  94. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.filters", [], "ECommerceBundle"), "html", null, true);
  95. yield "
  96. </button>
  97. <div class=\"row p-0 pr-3 collapse sidebar-collapse\" id=\"sidebar-part\">
  98. <h3 class=\"font-24 line-height-113 font-weight-bold pt-53 mb-4 w-100 border-bottom-2-black pb-4 text-uppercase\">";
  99. // line 34
  100. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("categories", [], "ECommerceBundle"), "html", null, true);
  101. yield "</h3>
  102. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">";
  103. // line 35
  104. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.manufacturer", [], "ECommerceBundle"), "html", null, true);
  105. yield "</h4>
  106. ";
  107. // line 36
  108. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 36, $this->source); })()), "manufacturers", [], "any", false, false, false, 36), 'widget', ["attr" => ["class" => "accordion-content max-vh-15 mb-5 w-100"]]);
  109. yield "
  110. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">";
  111. // line 38
  112. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.price_range", [], "ECommerceBundle"), "html", null, true);
  113. yield "</h4>
  114. <div class=\"accordion-content range-slider\">
  115. <div class=\"sliders\">
  116. </div>
  117. <div class=\"manual-input-values\">
  118. <span class=\"font-21 line-height-113\">
  119. ";
  120. // line 45
  121. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 45, $this->source); })()), "min", [], "any", false, false, false, 45), 'widget');
  122. yield " ";
  123. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Service\ECommerce\ProductTwigExtension']->currencyCodeFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 45, $this->source); })()), "user", [], "any", false, false, false, 45)), "html", null, true);
  124. yield "
  125. </span>
  126. <span class=\"font-21 line-height-113\">
  127. ";
  128. // line 48
  129. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 48, $this->source); })()), "max", [], "any", false, false, false, 48), 'widget', ["attr" => ["max" => $this->extensions['Twig\Extension\CoreExtension']->formatNumber($this->extensions['App\Service\ECommerce\ProductTwigExtension']->getGlobalMaxPrice(CoreExtension::getAttribute($this->env, $this->source, // line 51
  130. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 51, $this->source); })()), "user", [], "any", false, false, false, 51)), 0, ".", "")]]);
  131. // line 54
  132. yield " ";
  133. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Service\ECommerce\ProductTwigExtension']->currencyCodeFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 54, $this->source); })()), "user", [], "any", false, false, false, 54)), "html", null, true);
  134. yield "
  135. </span>
  136. </div>
  137. </div>
  138. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">";
  139. // line 60
  140. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.categories", [], "ECommerceBundle"), "html", null, true);
  141. yield "</h4>
  142. ";
  143. // line 61
  144. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 61, $this->source); })()), "categories", [], "any", false, false, false, 61), 'widget', ["attr" => ["class" => "accordion-content max-vh-15 mb-5 w-100"]]);
  145. yield "
  146. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">";
  147. // line 63
  148. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("product.sub_categories", [], "ECommerceBundle"), "html", null, true);
  149. yield "</h4>
  150. ";
  151. // line 64
  152. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 64, $this->source); })()), "subCategories", [], "any", false, false, false, 64), 'widget', ["attr" => ["class" => "accordion-content max-vh-15 mb-5 w-100"]]);
  153. yield "
  154. </div>
  155. </div>
  156. <div class=\"form-inline flex-nowrap\">
  157. ";
  158. // line 68
  159. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 68, $this->source); })()), "sortBy", [], "any", false, false, false, 68), 'widget');
  160. yield "
  161. ";
  162. // line 70
  163. $context["largeIconView"] = "assets/static/large-icon-view.svg";
  164. // line 71
  165. yield " ";
  166. $context["listView"] = "assets/static/list-view-selected.svg";
  167. // line 72
  168. yield " ";
  169. if ((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 72, $this->source); })()), "request", [], "any", false, false, false, 72), "query", [], "any", false, false, false, 72), "get", ["view"], "method", false, false, false, 72) == "large-icons")) {
  170. // line 73
  171. yield " ";
  172. $context["largeIconView"] = "assets/static/large-icon-view-selected.svg";
  173. // line 74
  174. yield " ";
  175. $context["listView"] = "assets/static/list-view.svg";
  176. // line 75
  177. yield " ";
  178. }
  179. // line 76
  180. yield "
  181. <a class=\"list-view text-decoration-none\"
  182. href=\"";
  183. // line 78
  184. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "attributes", [], "any", false, false, false, 78), "get", ["_route"], "method", false, false, false, 78), Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 78, $this->source); })()), "request", [], "any", false, false, false, 78), "query", [], "any", false, false, false, 78), "all", [], "any", false, false, false, 78), ["view" => "list"]));
  185. yield "\">
  186. <img src=\"";
  187. // line 79
  188. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["listView"]) || array_key_exists("listView", $context) ? $context["listView"] : (function () { throw new RuntimeError('Variable "listView" does not exist.', 79, $this->source); })())), "html", null, true);
  189. yield "\" alt=\"List View\">
  190. </a>
  191. <a class=\"large-icon-view text-decoration-none ml-2\"
  192. href=\"";
  193. // line 82
  194. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "attributes", [], "any", false, false, false, 82), "get", ["_route"], "method", false, false, false, 82), Twig\Extension\CoreExtension::merge(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 82, $this->source); })()), "request", [], "any", false, false, false, 82), "query", [], "any", false, false, false, 82), "all", [], "any", false, false, false, 82), ["view" => "large-icons"]));
  195. yield "\">
  196. <img src=\"";
  197. // line 83
  198. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl((isset($context["largeIconView"]) || array_key_exists("largeIconView", $context) ? $context["largeIconView"] : (function () { throw new RuntimeError('Variable "largeIconView" does not exist.', 83, $this->source); })())), "html", null, true);
  199. yield "\" alt=\"Large Icon View\">
  200. </a>
  201. </div>
  202. ";
  203. // line 87
  204. yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 87, $this->source); })()), 'form_end');
  205. yield "
  206. </div>
  207. ";
  208. // line 90
  209. yield from $this->load("ECommerce/App/Product/large_icons.ajax.twig", 90)->unwrap()->yield($context);
  210. // line 91
  211. yield "
  212. <div class=\"navigation d-flex justify-content-end ml-auto product-index-navigation\">
  213. <div class=\"row pl-0 pr-0\">
  214. <div class=\"col-12 \">
  215. ";
  216. // line 95
  217. yield $this->extensions['Knp\Bundle\PaginatorBundle\Twig\Extension\PaginationExtension']->render($this->env, (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 95, $this->source); })()));
  218. yield "
  219. </div>
  220. </div>
  221. </div>
  222. </div>
  223. </div>
  224. </div>
  225. <div class=\"row justify-content-center w-100\">
  226. <div class=\"synonym-products\">
  227. <div id=\"interchange-wrapper\" class=\"mt-3 mb-5\">
  228. <div class=\"row justify-content-center\">
  229. <div class=\"col-12 mb-5 text-center\">
  230. <h1>";
  231. // line 110
  232. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.interchange_button_title", [], "ECommerceBundle"), "html", null, true);
  233. yield "</h1>
  234. <a class=\"btn btn-primary mt-4\"
  235. href=\"";
  236. // line 112
  237. yield $this->extensions['App\Service\App\PublicTwig']->pathFunction("mdl_app_synonym_product_find", ["title" => Twig\Extension\CoreExtension::trim("*", "*", "left")]);
  238. yield "\"
  239. data-intro=\"";
  240. // line 113
  241. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("intro.interchange", [], "ECommerceBundle"), "html", null, true);
  242. yield "\"
  243. data-toggle=\"replace\"
  244. data-trigger=\"#interchange-wrapper\">
  245. <span class=\"text-capitalize font-21 font-weight-normal\">";
  246. // line 116
  247. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("general.interchange_button_search", [], "ECommerceBundle"), "html", null, true);
  248. yield "</span>
  249. <img src=\"";
  250. // line 117
  251. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/static/arrows-both-way.svg"), "html", null, true);
  252. yield "\" class=\"img-fluid ml-5\"
  253. alt=\"found in interchange catalogue\">
  254. </a>
  255. </div>
  256. </div>
  257. </div>
  258. </div>
  259. </div>
  260. </div>
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. </div>
  266. ";
  267. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  268. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  269. yield from [];
  270. }
  271. // line 134
  272. /**
  273. * @return iterable<null|scalar|\Stringable>
  274. */
  275. public function block_javascripts(array $context, array $blocks = []): iterable
  276. {
  277. $macros = $this->macros;
  278. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  279. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  280. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  281. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  282. // line 135
  283. yield " ";
  284. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  285. yield "
  286. ";
  287. // line 136
  288. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app/twoInputSlider");
  289. yield "
  290. ";
  291. // line 137
  292. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app/submitFormOnChange");
  293. yield "
  294. ";
  295. // line 138
  296. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("app/showHideToggle");
  297. yield "
  298. ";
  299. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  300. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  301. yield from [];
  302. }
  303. /**
  304. * @codeCoverageIgnore
  305. */
  306. public function getTemplateName(): string
  307. {
  308. return "ECommerce/App/Product/large_icons.html.twig";
  309. }
  310. /**
  311. * @codeCoverageIgnore
  312. */
  313. public function isTraitable(): bool
  314. {
  315. return false;
  316. }
  317. /**
  318. * @codeCoverageIgnore
  319. */
  320. public function getDebugInfo(): array
  321. {
  322. return array ( 335 => 138, 331 => 137, 327 => 136, 322 => 135, 309 => 134, 282 => 117, 278 => 116, 272 => 113, 268 => 112, 263 => 110, 245 => 95, 239 => 91, 237 => 90, 231 => 87, 224 => 83, 220 => 82, 214 => 79, 210 => 78, 206 => 76, 203 => 75, 200 => 74, 197 => 73, 194 => 72, 191 => 71, 189 => 70, 184 => 68, 177 => 64, 173 => 63, 168 => 61, 164 => 60, 154 => 54, 152 => 51, 151 => 48, 143 => 45, 133 => 38, 128 => 36, 124 => 35, 120 => 34, 114 => 31, 107 => 27, 100 => 23, 94 => 20, 80 => 8, 67 => 7, 56 => 1, 54 => 5, 41 => 1,);
  323. }
  324. public function getSourceContext(): Source
  325. {
  326. return new Source("{% extends 'base.html.twig' %}
  327. {% trans_default_domain 'ECommerceBundle' %}
  328. {%- import 'ECommerce/App/Product/macros.html.twig' as macros -%}
  329. {% block body %}
  330. <div class=\"container-fluid\">
  331. <div class=\"row\">
  332. <div class=\"container\">
  333. <div class=\"content\">
  334. <div class=\"container\">
  335. <div class=\"row position-relative\">
  336. <div class=\"col product-index-col pr-0\">
  337. <div class=\"row p-0 blog-post-content align-items-start\">
  338. <div class=\"p-0 product-index-table border-left-2 w-100\">
  339. <div class=\"row p-0 pl-5 position-relative\">
  340. <img src=\"{{ asset('assets/static/shop-hero.png') }}\" class=\"img-fluid w-100\" alt=\"Shop Hero\" />
  341. <div class=\"shop-hero-captions\">
  342. <h1>{{ 'product.shop-hero-title'|trans }}</h1>
  343. </div>
  344. </div>
  345. <div class=\"row table-headline p-0 pl-3 pb-5\">
  346. {{ form_start(form) }}
  347. <div class=\"col-2 p-0 sidebar-part\">
  348. <button class=\"sidebar-toggler\" type=\"button\" data-toggle=\"collapse\" data-target=\"#sidebar-part\" aria-controls=\"sidebar-part\" aria-expanded=\"false\" aria-label=\"Toggle sidebar part\">
  349. <span class=\"sidebar-toggler-icon\"></span>{{ 'product.filters'|trans }}
  350. </button>
  351. <div class=\"row p-0 pr-3 collapse sidebar-collapse\" id=\"sidebar-part\">
  352. <h3 class=\"font-24 line-height-113 font-weight-bold pt-53 mb-4 w-100 border-bottom-2-black pb-4 text-uppercase\">{{ 'categories'|trans }}</h3>
  353. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">{{ 'product.manufacturer'|trans }}</h4>
  354. {{ form_widget(form.manufacturers, {attr: {class: 'accordion-content max-vh-15 mb-5 w-100'}}) }}
  355. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">{{ 'product.price_range'|trans }}</h4>
  356. <div class=\"accordion-content range-slider\">
  357. <div class=\"sliders\">
  358. </div>
  359. <div class=\"manual-input-values\">
  360. <span class=\"font-21 line-height-113\">
  361. {{ form_widget(form.min) }} {{ currency_code(app.user) }}
  362. </span>
  363. <span class=\"font-21 line-height-113\">
  364. {{ form_widget(form.max,
  365. {attr:
  366. {
  367. max: global_max_product_price(app.user)|number_format(0, '.', ''),
  368. }
  369. })
  370. }} {{ currency_code(app.user) }}
  371. </span>
  372. </div>
  373. </div>
  374. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">{{ 'product.categories'|trans }}</h4>
  375. {{ form_widget(form.categories, {attr: {class: 'accordion-content max-vh-15 mb-5 w-100'}}) }}
  376. <h4 class=\"accordion-header active font-21 line-height-113 font-weight-bold w-100 mb-40\">{{ 'product.sub_categories'|trans }}</h4>
  377. {{ form_widget(form.subCategories, {attr: {class: 'accordion-content max-vh-15 mb-5 w-100'}}) }}
  378. </div>
  379. </div>
  380. <div class=\"form-inline flex-nowrap\">
  381. {{ form_widget(form.sortBy) }}
  382. {% set largeIconView = 'assets/static/large-icon-view.svg' %}
  383. {% set listView = 'assets/static/list-view-selected.svg' %}
  384. {% if app.request.query.get('view') == 'large-icons' %}
  385. {% set largeIconView = 'assets/static/large-icon-view-selected.svg' %}
  386. {% set listView = 'assets/static/list-view.svg' %}
  387. {% endif %}
  388. <a class=\"list-view text-decoration-none\"
  389. href=\"{{ path(app.request.attributes.get('_route'), app.request.query.all | merge({'view': 'list'})) }}\">
  390. <img src=\"{{ asset(listView) }}\" alt=\"List View\">
  391. </a>
  392. <a class=\"large-icon-view text-decoration-none ml-2\"
  393. href=\"{{ path(app.request.attributes.get('_route'), app.request.query.all | merge({'view': 'large-icons'})) }}\">
  394. <img src=\"{{ asset(largeIconView) }}\" alt=\"Large Icon View\">
  395. </a>
  396. </div>
  397. {{ form_end(form) }}
  398. </div>
  399. {% include 'ECommerce/App/Product/large_icons.ajax.twig' %}
  400. <div class=\"navigation d-flex justify-content-end ml-auto product-index-navigation\">
  401. <div class=\"row pl-0 pr-0\">
  402. <div class=\"col-12 \">
  403. {{ knp_pagination_render(products) }}
  404. </div>
  405. </div>
  406. </div>
  407. </div>
  408. </div>
  409. </div>
  410. <div class=\"row justify-content-center w-100\">
  411. <div class=\"synonym-products\">
  412. <div id=\"interchange-wrapper\" class=\"mt-3 mb-5\">
  413. <div class=\"row justify-content-center\">
  414. <div class=\"col-12 mb-5 text-center\">
  415. <h1>{{ 'general.interchange_button_title'|trans }}</h1>
  416. <a class=\"btn btn-primary mt-4\"
  417. href=\"{{ path('mdl_app_synonym_product_find', { 'title': ('*'|trim('*', 'left')) }) }}\"
  418. data-intro=\"{{ ('intro.interchange'|trans) }}\"
  419. data-toggle=\"replace\"
  420. data-trigger=\"#interchange-wrapper\">
  421. <span class=\"text-capitalize font-21 font-weight-normal\">{{ 'general.interchange_button_search'|trans }}</span>
  422. <img src=\"{{ asset('assets/static/arrows-both-way.svg') }}\" class=\"img-fluid ml-5\"
  423. alt=\"found in interchange catalogue\">
  424. </a>
  425. </div>
  426. </div>
  427. </div>
  428. </div>
  429. </div>
  430. </div>
  431. </div>
  432. </div>
  433. </div>
  434. </div>
  435. </div>
  436. {% endblock %}
  437. {% block javascripts %}
  438. {{ parent() }}
  439. {{ encore_entry_script_tags('app/twoInputSlider') }}
  440. {{ encore_entry_script_tags('app/submitFormOnChange') }}
  441. {{ encore_entry_script_tags('app/showHideToggle') }}
  442. {% endblock %}
  443. ", "ECommerce/App/Product/large_icons.html.twig", "/var/www/rs.optima/templates/ECommerce/App/Product/large_icons.html.twig");
  444. }
  445. }