var/cache/dev/twig/18/18b1f3ac17bcac45f1ecbca0d8af7fdd.php line 288

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. /* front/catalog/manufacturer/view.html.twig */
  16. class __TwigTemplate_7774fffd9789a1e39717600baf934b94 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. 'bodyClass' => [$this, 'block_bodyClass'],
  29. 'metas' => [$this, 'block_metas'],
  30. 'featured' => [$this, 'block_featured'],
  31. 'breadcrumbs' => [$this, 'block_breadcrumbs'],
  32. 'content' => [$this, 'block_content'],
  33. ];
  34. }
  35. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  36. {
  37. // line 1
  38. return "front/front.html.twig";
  39. }
  40. protected function doDisplay(array $context, array $blocks = []): iterable
  41. {
  42. $macros = $this->macros;
  43. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  44. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/catalog/manufacturer/view.html.twig"));
  45. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/catalog/manufacturer/view.html.twig"));
  47. $this->parent = $this->load("front/front.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 3
  53. /**
  54. * @return iterable<null|scalar|\Stringable>
  55. */
  56. public function block_bodyClass(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", "bodyClass"));
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  62. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
  63. yield "category";
  64. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  66. yield from [];
  67. }
  68. // line 5
  69. /**
  70. * @return iterable<null|scalar|\Stringable>
  71. */
  72. public function block_metas(array $context, array $blocks = []): iterable
  73. {
  74. $macros = $this->macros;
  75. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metas"));
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metas"));
  79. // line 6
  80. yield " <title>";
  81. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 6, $this->source); })()), "name", [], "any", false, false, false, 6), "html", null, true);
  82. yield "</title>
  83. <meta name=\"description\" content=\"";
  84. // line 7
  85. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vivog, fabrique et commercialise des tables de toilettage, baignoires pour chien, pulseurs pour chien, tondeuses pour chien et chat, shampooings chien et les accessoires pour les salons de toilettage et les élevages", [], "messages");
  86. yield "\">
  87. ";
  88. // line 8
  89. $context["slug"] = CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 8, $this->source); })()), "getUrl", [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.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "locale", [], "any", false, false, false, 8)], "method", false, false, false, 8);
  90. // line 9
  91. yield " ";
  92. if (((isset($context["nbPages"]) || array_key_exists("nbPages", $context) ? $context["nbPages"] : (function () { throw new RuntimeError('Variable "nbPages" does not exist.', 9, $this->source); })()) > 1)) {
  93. // line 10
  94. yield " ";
  95. if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 10, $this->source); })()) > 1)) {
  96. // line 11
  97. yield " <link rel=\"canonical\" href=\"";
  98. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 11, $this->source); })()), "id", [], "any", false, false, false, 11), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 11, $this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 11, $this->source); })())]), "html", null, true);
  99. yield "\" />
  100. ";
  101. } else {
  102. // line 13
  103. yield " <link rel=\"canonical\" href=\"";
  104. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 13, $this->source); })()), "id", [], "any", false, false, false, 13), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 13, $this->source); })())]), "html", null, true);
  105. yield "\" />
  106. ";
  107. }
  108. // line 15
  109. yield " ";
  110. if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 15, $this->source); })()) > 2)) {
  111. // line 16
  112. yield " <link rel=\"prev\" href=\"";
  113. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 16, $this->source); })()), "id", [], "any", false, false, false, 16), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 16, $this->source); })()), "page" => ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 16, $this->source); })()) - 1)]), "html", null, true);
  114. yield "\" />
  115. ";
  116. } elseif (( // line 17
  117. (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 17, $this->source); })()) == 2)) {
  118. // line 18
  119. yield " <link rel=\"prev\" href=\"";
  120. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 18, $this->source); })()), "id", [], "any", false, false, false, 18), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 18, $this->source); })())]), "html", null, true);
  121. yield "\" />
  122. ";
  123. }
  124. // line 20
  125. yield " ";
  126. if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 20, $this->source); })()) < (isset($context["nbPages"]) || array_key_exists("nbPages", $context) ? $context["nbPages"] : (function () { throw new RuntimeError('Variable "nbPages" does not exist.', 20, $this->source); })()))) {
  127. // line 21
  128. yield " <link rel=\"next\" href=\"";
  129. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 21, $this->source); })()), "id", [], "any", false, false, false, 21), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 21, $this->source); })()), "page" => ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 21, $this->source); })()) + 1)]), "html", null, true);
  130. yield "\" />
  131. ";
  132. }
  133. // line 23
  134. yield " ";
  135. } else {
  136. // line 24
  137. yield " <link rel=\"canonical\" href=\"";
  138. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("manufacturer", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 24, $this->source); })()), "id", [], "any", false, false, false, 24), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 24, $this->source); })())]), "html", null, true);
  139. yield "\" />
  140. ";
  141. }
  142. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  143. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  144. yield from [];
  145. }
  146. // line 28
  147. /**
  148. * @return iterable<null|scalar|\Stringable>
  149. */
  150. public function block_featured(array $context, array $blocks = []): iterable
  151. {
  152. $macros = $this->macros;
  153. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "featured"));
  155. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "featured"));
  157. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  158. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  159. yield from [];
  160. }
  161. // line 30
  162. /**
  163. * @return iterable<null|scalar|\Stringable>
  164. */
  165. public function block_breadcrumbs(array $context, array $blocks = []): iterable
  166. {
  167. $macros = $this->macros;
  168. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  169. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
  170. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  171. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
  172. // line 31
  173. yield " ";
  174. yield from $this->load("front/layout/breadcrumbs.html.twig", 31)->unwrap()->yield(CoreExtension::merge($context, ["manufacturer" => (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 31, $this->source); })())]));
  175. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  176. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  177. yield from [];
  178. }
  179. // line 34
  180. /**
  181. * @return iterable<null|scalar|\Stringable>
  182. */
  183. public function block_content(array $context, array $blocks = []): iterable
  184. {
  185. $macros = $this->macros;
  186. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  187. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  188. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  189. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  190. // line 35
  191. yield " <div class=\"manufacturer-view\">
  192. <div class=\"ctn\">
  193. ";
  194. // line 37
  195. if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  196. // line 38
  197. yield " <div class=\"admin-tools\">
  198. <a href=\"";
  199. // line 39
  200. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("admin_manufacturer_edit", ["id" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturer"]) || array_key_exists("manufacturer", $context) ? $context["manufacturer"] : (function () { throw new RuntimeError('Variable "manufacturer" does not exist.', 39, $this->source); })()), "id", [], "any", false, false, false, 39)]), "html", null, true);
  201. yield "\" class=\"admin-update\" target=\"_blank\">modifier la marque</a>
  202. </div>
  203. ";
  204. }
  205. // line 42
  206. yield " <h1>";
  207. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturerDescription"]) || array_key_exists("manufacturerDescription", $context) ? $context["manufacturerDescription"] : (function () { throw new RuntimeError('Variable "manufacturerDescription" does not exist.', 42, $this->source); })()), "title", [], "any", false, false, false, 42), "html", null, true);
  208. yield "</h1>
  209. ";
  210. // line 43
  211. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturerDescription"]) || array_key_exists("manufacturerDescription", $context) ? $context["manufacturerDescription"] : (function () { throw new RuntimeError('Variable "manufacturerDescription" does not exist.', 43, $this->source); })()), "description1", [], "any", false, false, false, 43)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  212. // line 44
  213. yield " <div class=\"description\">
  214. ";
  215. // line 45
  216. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturerDescription"]) || array_key_exists("manufacturerDescription", $context) ? $context["manufacturerDescription"] : (function () { throw new RuntimeError('Variable "manufacturerDescription" does not exist.', 45, $this->source); })()), "description1", [], "any", false, false, false, 45);
  217. yield "
  218. </div>
  219. ";
  220. }
  221. // line 48
  222. yield " <div class=\"manufacturer-ctn\">
  223. ";
  224. // line 49
  225. yield from $this->load("front/catalog/product/list.html.twig", 49)->unwrap()->yield(CoreExtension::merge($context, ["products" => (isset($context["products"]) || array_key_exists("products", $context) ? $context["products"] : (function () { throw new RuntimeError('Variable "products" does not exist.', 49, $this->source); })())]));
  226. // line 50
  227. yield " </div>
  228. ";
  229. // line 51
  230. if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturerDescription"]) || array_key_exists("manufacturerDescription", $context) ? $context["manufacturerDescription"] : (function () { throw new RuntimeError('Variable "manufacturerDescription" does not exist.', 51, $this->source); })()), "description2", [], "any", false, false, false, 51)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
  231. // line 52
  232. yield " <div class=\"description\">
  233. ";
  234. // line 53
  235. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["manufacturerDescription"]) || array_key_exists("manufacturerDescription", $context) ? $context["manufacturerDescription"] : (function () { throw new RuntimeError('Variable "manufacturerDescription" does not exist.', 53, $this->source); })()), "description2", [], "any", false, false, false, 53);
  236. yield "
  237. </div>
  238. ";
  239. }
  240. // line 56
  241. yield " </div>
  242. ";
  243. // line 57
  244. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\Modules\\SeenProductsController::block", ["request" => CoreExtension::getAttribute($this->env, $this->source, // line 59
  245. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 59, $this->source); })()), "request", [], "any", false, false, false, 59)]));
  246. // line 60
  247. yield "
  248. <div class=\"footer-spacer\"></div>
  249. </div>
  250. ";
  251. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  253. yield from [];
  254. }
  255. /**
  256. * @codeCoverageIgnore
  257. */
  258. public function getTemplateName(): string
  259. {
  260. return "front/catalog/manufacturer/view.html.twig";
  261. }
  262. /**
  263. * @codeCoverageIgnore
  264. */
  265. public function isTraitable(): bool
  266. {
  267. return false;
  268. }
  269. /**
  270. * @codeCoverageIgnore
  271. */
  272. public function getDebugInfo(): array
  273. {
  274. return array ( 291 => 60, 289 => 59, 288 => 57, 285 => 56, 279 => 53, 276 => 52, 274 => 51, 271 => 50, 269 => 49, 266 => 48, 260 => 45, 257 => 44, 255 => 43, 250 => 42, 244 => 39, 241 => 38, 239 => 37, 235 => 35, 222 => 34, 210 => 31, 197 => 30, 175 => 28, 160 => 24, 157 => 23, 151 => 21, 148 => 20, 142 => 18, 140 => 17, 135 => 16, 132 => 15, 126 => 13, 120 => 11, 117 => 10, 114 => 9, 112 => 8, 108 => 7, 103 => 6, 90 => 5, 67 => 3, 44 => 1,);
  275. }
  276. public function getSourceContext(): Source
  277. {
  278. return new Source("{% extends 'front/front.html.twig' %}
  279. {% block bodyClass %}category{% endblock %}
  280. {% block metas %}
  281. <title>{{ manufacturer.name }}</title>
  282. <meta name=\"description\" content=\"{% trans %}Vivog, fabrique et commercialise des tables de toilettage, baignoires pour chien, pulseurs pour chien, tondeuses pour chien et chat, shampooings chien et les accessoires pour les salons de toilettage et les élevages{% endtrans %}\">
  283. {% set slug = manufacturer.getUrl(app.request.locale) %}
  284. {% if nbPages > 1 %}
  285. {% if page > 1 %}
  286. <link rel=\"canonical\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug, page:page}) }}\" />
  287. {% else %}
  288. <link rel=\"canonical\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug}) }}\" />
  289. {% endif %}
  290. {% if page > 2 %}
  291. <link rel=\"prev\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug, page:page-1}) }}\" />
  292. {% elseif page == 2 %}
  293. <link rel=\"prev\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug}) }}\" />
  294. {% endif %}
  295. {% if page < nbPages %}
  296. <link rel=\"next\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug, page:page+1}) }}\" />
  297. {% endif %}
  298. {% else %}
  299. <link rel=\"canonical\" href=\"{{ url('manufacturer',{id:manufacturer.id, url:slug}) }}\" />
  300. {% endif %}
  301. {% endblock %}
  302. {% block featured %}{% endblock %}
  303. {% block breadcrumbs %}
  304. {% include 'front/layout/breadcrumbs.html.twig' with {manufacturer:manufacturer} %}
  305. {% endblock %}
  306. {% block content %}
  307. <div class=\"manufacturer-view\">
  308. <div class=\"ctn\">
  309. {% if is_granted('ROLE_ADMIN') %}
  310. <div class=\"admin-tools\">
  311. <a href=\"{{ path('admin_manufacturer_edit',{id:manufacturer.id}) }}\" class=\"admin-update\" target=\"_blank\">modifier la marque</a>
  312. </div>
  313. {% endif %}
  314. <h1>{{ manufacturerDescription.title }}</h1>
  315. {% if manufacturerDescription.description1 %}
  316. <div class=\"description\">
  317. {{ manufacturerDescription.description1|raw }}
  318. </div>
  319. {% endif %}
  320. <div class=\"manufacturer-ctn\">
  321. {% include 'front/catalog/product/list.html.twig' with { products:products }%}
  322. </div>
  323. {% if manufacturerDescription.description2 %}
  324. <div class=\"description\">
  325. {{ manufacturerDescription.description2|raw }}
  326. </div>
  327. {% endif %}
  328. </div>
  329. {{ render(controller(
  330. 'App\\\\Controller\\\\Front\\\\Modules\\\\SeenProductsController::block',
  331. { 'request': app.request }
  332. )) }}
  333. <div class=\"footer-spacer\"></div>
  334. </div>
  335. {% endblock %}", "front/catalog/manufacturer/view.html.twig", "/var/www/dogcat.com/v2-test/templates/front/catalog/manufacturer/view.html.twig");
  336. }
  337. }