var/cache/dev/twig/bd/bd0c74e37e6d3c18fdde5d8f5a297152cdec05efee37bbe9b68467224912a741.php line 49

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. /* front/security/panels/subscribe.html.twig */
  15. class __TwigTemplate_9c1b59f0df9a06bc583fdb12159fbcfa8d8e9789024316485dce8b22cd3806a3 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'content' => [$this'block_content'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "front/security/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/security/panels/subscribe.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""front/security/panels/subscribe.html.twig"));
  39.         $this->parent $this->loadTemplate("front/security/layout.html.twig""front/security/panels/subscribe.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 5
  47.     public function block_content($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  54.         // line 6
  55.         yield "
  56. <div
  57.         security_panel=\"subscribe\"
  58.         class=\"securityPage__panel  \">
  59.     <a
  60.             href=\"";
  61.         // line 12
  62.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login");
  63.         yield "\"
  64.             class=\"securityPage__backLink\"><i class=\"far fa-chevron-left\"></i> Retour</a>
  65.     <p class=\"securityPage__welcomeTxt\">Téléchargez l'application Prestachef sur les stores pour vous inscrire.</p>
  66.     <div class=\"securityPage__storesShell\">
  67.         <a target=\"_blank\" href=\"";
  68.         // line 18
  69.         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"nulltrue);
  70.         yield "\"><img src=\"";
  71.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/app-store.svg"), "html"nulltrue);
  72.         yield "\"/></a>
  73.         <a target=\"_blank\" href=\"";
  74.         // line 19
  75.         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"nulltrue);
  76.         yield "\"><img src=\"";
  77.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/google-play.png"), "html"nulltrue);
  78.         yield "\"/></a>
  79.     </div>
  80.     <div class=\"securityPage__storesShell\">
  81.         <a target=\"_blank\" href=\"https://qr.prestachef.fr\"><img class=\"securityPage__qrcode\" src=\"";
  82.         // line 22
  83.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/front/images/stores/qr-app.png"), "html"nulltrue);
  84.         yield "\"/></a>
  85.     </div>
  86.     <div class=\"text-center mt-4\">
  87.         <p><b class=\"text-warning\">Vous avez déjà un compte Prestachef ?</b></p>
  88.         <p><a href=\"";
  89.         // line 28
  90.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("malys_front_welcome");
  91.         yield "\" class=\"link-open-account securityPage__link\">Je me connecte <i
  92.                         class=\"far fa-arrow-right\"></i></a><br></p>
  93.     </div>
  94. </div>
  95. ";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.         return; yield '';
  101.     }
  102.     /**
  103.      * @codeCoverageIgnore
  104.      */
  105.     public function getTemplateName()
  106.     {
  107.         return "front/security/panels/subscribe.html.twig";
  108.     }
  109.     /**
  110.      * @codeCoverageIgnore
  111.      */
  112.     public function isTraitable()
  113.     {
  114.         return false;
  115.     }
  116.     /**
  117.      * @codeCoverageIgnore
  118.      */
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  109 => 28,  100 => 22,  92 => 19,  86 => 18,  77 => 12,  69 => 6,  59 => 5,  36 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends 'front/security/layout.html.twig' %}
  126. {% trans_default_domain 'FOSUserBundle' %}
  127. {% block content %}
  128. <div
  129.         security_panel=\"subscribe\"
  130.         class=\"securityPage__panel  \">
  131.     <a
  132.             href=\"{{ path('fos_user_security_login') }}\"
  133.             class=\"securityPage__backLink\"><i class=\"far fa-chevron-left\"></i> Retour</a>
  134.     <p class=\"securityPage__welcomeTxt\">Téléchargez l'application Prestachef sur les stores pour vous inscrire.</p>
  135.     <div class=\"securityPage__storesShell\">
  136.         <a target=\"_blank\" href=\"{{ app_appstore_url }}\"><img src=\"{{ asset('assets/front/images/stores/app-store.svg') }}\"/></a>
  137.         <a target=\"_blank\" href=\"{{ app_googleplay_url }}\"><img src=\"{{ asset('assets/front/images/stores/google-play.png') }}\"/></a>
  138.     </div>
  139.     <div class=\"securityPage__storesShell\">
  140.         <a target=\"_blank\" href=\"https://qr.prestachef.fr\"><img class=\"securityPage__qrcode\" src=\"{{ asset('assets/front/images/stores/qr-app.png') }}\"/></a>
  141.     </div>
  142.     <div class=\"text-center mt-4\">
  143.         <p><b class=\"text-warning\">Vous avez déjà un compte Prestachef ?</b></p>
  144.         <p><a href=\"{{ path('malys_front_welcome') }}\" class=\"link-open-account securityPage__link\">Je me connecte <i
  145.                         class=\"far fa-arrow-right\"></i></a><br></p>
  146.     </div>
  147. </div>
  148. {% endblock %}""front/security/panels/subscribe.html.twig""/var/www/malys/templates/front/security/panels/subscribe.html.twig");
  149.     }
  150. }