<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
use Twig\TemplateWrapper;
/* front/catalog/manufacturer/view.html.twig */
class __TwigTemplate_68e587cc86ee0c731975630f1103509b extends Template
{
private Source $source;
/**
* @var array<string, Template>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'bodyClass' => [$this, 'block_bodyClass'],
'javascripts' => [$this, 'block_javascripts'],
'metas' => [$this, 'block_metas'],
'featured' => [$this, 'block_featured'],
'breadcrumbs' => [$this, 'block_breadcrumbs'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return "front/front.html.twig";
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$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", "front/catalog/manufacturer/view.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/catalog/manufacturer/view.html.twig"));
$this->parent = $this->load("front/front.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_bodyClass(array $context, array $blocks = []): iterable
{
$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", "bodyClass"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
yield "category";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 5
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_javascripts(array $context, array $blocks = []): iterable
{
$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", "javascripts"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
// line 6
yield " <script>
config.manufacturerId = ";
// line 7
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.', 7, $this->source); })()), "id", [], "any", false, false, false, 7), "html", null, true);
yield ";
</script>
<script src=\"";
// line 9
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("js/manufacturer.js"), "html", null, true);
yield "\"></script>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 12
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_metas(array $context, array $blocks = []): iterable
{
$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", "metas"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metas"));
// line 13
yield " <title>";
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.', 13, $this->source); })()), "name", [], "any", false, false, false, 13), "html", null, true);
yield "</title>
<meta name=\"description\" content=\"";
// line 14
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");
yield "\">
";
// line 15
$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.', 15, $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.', 15, $this->source); })()), "request", [], "any", false, false, false, 15), "locale", [], "any", false, false, false, 15)], "method", false, false, false, 15);
// line 16
yield " ";
if (((isset($context["nbPages"]) || array_key_exists("nbPages", $context) ? $context["nbPages"] : (function () { throw new RuntimeError('Variable "nbPages" does not exist.', 16, $this->source); })()) > 1)) {
// line 17
yield " ";
if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 17, $this->source); })()) > 1)) {
// line 18
yield " <link rel=\"canonical\" href=\"";
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); })()), "page" => (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 18, $this->source); })())]), "html", null, true);
yield "\" />
";
} else {
// line 20
yield " <link rel=\"canonical\" href=\"";
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.', 20, $this->source); })()), "id", [], "any", false, false, false, 20), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 20, $this->source); })())]), "html", null, true);
yield "\" />
";
}
// line 22
yield " ";
if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 22, $this->source); })()) > 2)) {
// line 23
yield " <link rel=\"prev\" href=\"";
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.', 23, $this->source); })()), "id", [], "any", false, false, false, 23), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 23, $this->source); })()), "page" => ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 23, $this->source); })()) - 1)]), "html", null, true);
yield "\" />
";
} elseif (( // line 24
(isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 24, $this->source); })()) == 2)) {
// line 25
yield " <link rel=\"prev\" href=\"";
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.', 25, $this->source); })()), "id", [], "any", false, false, false, 25), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 25, $this->source); })())]), "html", null, true);
yield "\" />
";
}
// line 27
yield " ";
if (((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 27, $this->source); })()) < (isset($context["nbPages"]) || array_key_exists("nbPages", $context) ? $context["nbPages"] : (function () { throw new RuntimeError('Variable "nbPages" does not exist.', 27, $this->source); })()))) {
// line 28
yield " <link rel=\"next\" href=\"";
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.', 28, $this->source); })()), "id", [], "any", false, false, false, 28), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 28, $this->source); })()), "page" => ((isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 28, $this->source); })()) + 1)]), "html", null, true);
yield "\" />
";
}
// line 30
yield " ";
} else {
// line 31
yield " <link rel=\"canonical\" href=\"";
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.', 31, $this->source); })()), "id", [], "any", false, false, false, 31), "url" => (isset($context["slug"]) || array_key_exists("slug", $context) ? $context["slug"] : (function () { throw new RuntimeError('Variable "slug" does not exist.', 31, $this->source); })())]), "html", null, true);
yield "\" />
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 35
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_featured(array $context, array $blocks = []): iterable
{
$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", "featured"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "featured"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 37
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_breadcrumbs(array $context, array $blocks = []): iterable
{
$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", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 38
yield " ";
yield from $this->load("front/layout/breadcrumbs.html.twig", 38)->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.', 38, $this->source); })())]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
// line 41
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_content(array $context, array $blocks = []): iterable
{
$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", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 42
yield " <div class=\"manufacturer-view\" data-id=\"";
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.', 42, $this->source); })()), "id", [], "any", false, false, false, 42), "html", null, true);
yield "\">
<div class=\"ctn\">
";
// line 44
if ((($tmp = $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_ADMIN")) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 45
yield " <div class=\"admin-tools\">
<a href=\"";
// line 46
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.', 46, $this->source); })()), "id", [], "any", false, false, false, 46)]), "html", null, true);
yield "\" class=\"admin-update\" target=\"_blank\">modifier la marque</a>
</div>
";
}
// line 49
yield " <h1>";
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.', 49, $this->source); })()), "title", [], "any", false, false, false, 49), "html", null, true);
yield "</h1>
";
// line 50
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.', 50, $this->source); })()), "description1", [], "any", false, false, false, 50)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 51
yield " <div class=\"description\">
";
// line 52
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.', 52, $this->source); })()), "description1", [], "any", false, false, false, 52);
yield "
</div>
";
}
// line 55
yield " <div class=\"manufacturer-ctn\">
";
// line 56
yield from $this->load("front/catalog/product/list.html.twig", 56)->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.', 56, $this->source); })())]));
// line 57
yield " </div>
";
// line 58
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.', 58, $this->source); })()), "description2", [], "any", false, false, false, 58)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 59
yield " <div class=\"description\">
";
// line 60
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.', 60, $this->source); })()), "description2", [], "any", false, false, false, 60);
yield "
</div>
";
}
// line 63
yield " </div>
";
// line 64
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 66
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 66, $this->source); })()), "request", [], "any", false, false, false, 66)]));
// line 67
yield "
<div class=\"footer-spacer\"></div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "front/catalog/manufacturer/view.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 328 => 67, 326 => 66, 325 => 64, 322 => 63, 316 => 60, 313 => 59, 311 => 58, 308 => 57, 306 => 56, 303 => 55, 297 => 52, 294 => 51, 292 => 50, 287 => 49, 281 => 46, 278 => 45, 276 => 44, 270 => 42, 257 => 41, 245 => 38, 232 => 37, 210 => 35, 195 => 31, 192 => 30, 186 => 28, 183 => 27, 177 => 25, 175 => 24, 170 => 23, 167 => 22, 161 => 20, 155 => 18, 152 => 17, 149 => 16, 147 => 15, 143 => 14, 138 => 13, 125 => 12, 112 => 9, 107 => 7, 104 => 6, 91 => 5, 68 => 3, 45 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27front/front.html.twig\x27 %}
{% block bodyClass %}category{% endblock %}
{% block javascripts %}
<script>
config.manufacturerId = {{ manufacturer.id }};
</script>
<script src=\"{{ asset(\x27js/manufacturer.js\x27) }}\"></script>
{% endblock %}
{% block metas %}
<title>{{ manufacturer.name }}</title>
<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 %}\">
{% set slug = manufacturer.getUrl(app.request.locale) %}
{% if nbPages > 1 %}
{% if page > 1 %}
<link rel=\"canonical\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug, page:page}) }}\" />
{% else %}
<link rel=\"canonical\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug}) }}\" />
{% endif %}
{% if page > 2 %}
<link rel=\"prev\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug, page:page-1}) }}\" />
{% elseif page == 2 %}
<link rel=\"prev\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug}) }}\" />
{% endif %}
{% if page < nbPages %}
<link rel=\"next\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug, page:page+1}) }}\" />
{% endif %}
{% else %}
<link rel=\"canonical\" href=\"{{ url(\x27manufacturer\x27,{id:manufacturer.id, url:slug}) }}\" />
{% endif %}
{% endblock %}
{% block featured %}{% endblock %}
{% block breadcrumbs %}
{% include \x27front/layout/breadcrumbs.html.twig\x27 with {manufacturer:manufacturer} %}
{% endblock %}
{% block content %}
<div class=\"manufacturer-view\" data-id=\"{{ manufacturer.id }}\">
<div class=\"ctn\">
{% if is_granted(\x27ROLE_ADMIN\x27) %}
<div class=\"admin-tools\">
<a href=\"{{ path(\x27admin_manufacturer_edit\x27,{id:manufacturer.id}) }}\" class=\"admin-update\" target=\"_blank\">modifier la marque</a>
</div>
{% endif %}
<h1>{{ manufacturerDescription.title }}</h1>
{% if manufacturerDescription.description1 %}
<div class=\"description\">
{{ manufacturerDescription.description1|raw }}
</div>
{% endif %}
<div class=\"manufacturer-ctn\">
{% include \x27front/catalog/product/list.html.twig\x27 with { products:products }%}
</div>
{% if manufacturerDescription.description2 %}
<div class=\"description\">
{{ manufacturerDescription.description2|raw }}
</div>
{% endif %}
</div>
{{ render(controller(
\x27App\\\\Controller\\\\Front\\\\Modules\\\\SeenProductsController::block\x27,
{ \x27request\x27: app.request }
)) }}
<div class=\"footer-spacer\"></div>
</div>
{% endblock %}", "front/catalog/manufacturer/view.html.twig", "/var/www/dogcat.com/v2-test/templates/front/catalog/manufacturer/view.html.twig");
}
}