<?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;
/* front/security/panels/subscribe.html.twig */
class __TwigTemplate_9c1b59f0df9a06bc583fdb12159fbcfa8d8e9789024316485dce8b22cd3806a3 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "front/security/layout.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/security/panels/subscribe.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/security/panels/subscribe.html.twig"));
$this->parent = $this->loadTemplate("front/security/layout.html.twig", "front/security/panels/subscribe.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 5
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 6
yield "
<div
security_panel=\"subscribe\"
class=\"securityPage__panel \">
<a
href=\"";
// line 12
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login");
yield "\"
class=\"securityPage__backLink\"><i class=\"far fa-chevron-left\"></i> Retour</a>
<p class=\"securityPage__welcomeTxt\">Téléchargez l'application Prestachef sur les stores pour vous inscrire.</p>
<div class=\"securityPage__storesShell\">
<a target=\"_blank\" href=\"";
// line 18
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_appstore_url"]) || array_key_exists("app_appstore_url", $context) ? $context["app_appstore_url"] : (function () { throw new RuntimeError('Variable "app_appstore_url" does not exist.', 18, $this->source); })()), "html", null, true);
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/app-store.svg"), "html", null, true);
yield "\"/></a>
<a target=\"_blank\" href=\"";
// line 19
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["app_googleplay_url"]) || array_key_exists("app_googleplay_url", $context) ? $context["app_googleplay_url"] : (function () { throw new RuntimeError('Variable "app_googleplay_url" does not exist.', 19, $this->source); })()), "html", null, true);
yield "\"><img src=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/google-play.png"), "html", null, true);
yield "\"/></a>
</div>
<div class=\"securityPage__storesShell\">
<a target=\"_blank\" href=\"https://qr.prestachef.fr\"><img class=\"securityPage__qrcode\" src=\"";
// line 22
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/qr-app.png"), "html", null, true);
yield "\"/></a>
</div>
<div class=\"text-center mt-4\">
<p><b class=\"text-warning\">Vous avez déjà un compte Prestachef ?</b></p>
<p><a href=\"";
// line 28
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("malys_front_welcome");
yield "\" class=\"link-open-account securityPage__link\">Je me connecte <i
class=\"far fa-arrow-right\"></i></a><br></p>
</div>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/security/panels/subscribe.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 109 => 28, 100 => 22, 92 => 19, 86 => 18, 77 => 12, 69 => 6, 59 => 5, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'front/security/layout.html.twig' %}
{% trans_default_domain 'FOSUserBundle' %}
{% block content %}
<div
security_panel=\"subscribe\"
class=\"securityPage__panel \">
<a
href=\"{{ path('fos_user_security_login') }}\"
class=\"securityPage__backLink\"><i class=\"far fa-chevron-left\"></i> Retour</a>
<p class=\"securityPage__welcomeTxt\">Téléchargez l'application Prestachef sur les stores pour vous inscrire.</p>
<div class=\"securityPage__storesShell\">
<a target=\"_blank\" href=\"{{ app_appstore_url }}\"><img src=\"{{ asset('assets/front/images/stores/app-store.svg') }}\"/></a>
<a target=\"_blank\" href=\"{{ app_googleplay_url }}\"><img src=\"{{ asset('assets/front/images/stores/google-play.png') }}\"/></a>
</div>
<div class=\"securityPage__storesShell\">
<a target=\"_blank\" href=\"https://qr.prestachef.fr\"><img class=\"securityPage__qrcode\" src=\"{{ asset('assets/front/images/stores/qr-app.png') }}\"/></a>
</div>
<div class=\"text-center mt-4\">
<p><b class=\"text-warning\">Vous avez déjà un compte Prestachef ?</b></p>
<p><a href=\"{{ path('malys_front_welcome') }}\" class=\"link-open-account securityPage__link\">Je me connecte <i
class=\"far fa-arrow-right\"></i></a><br></p>
</div>
</div>
{% endblock %}", "front/security/panels/subscribe.html.twig", "/var/www/malys/templates/front/security/panels/subscribe.html.twig");
}
}