LaLiga-BackEnd/var/cache/dev/twig/7b/7b12781d6a926772e9714276f7e...

114 lines
6.0 KiB
PHP

<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* teamCaptainRequest.html.twig */
class __TwigTemplate_5577b40761d9f943e2c645838264f372 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "teamCaptainRequest.html.twig"));
// line 1
echo "<h1>Hola ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["userToNotify"]) || array_key_exists("userToNotify", $context) ? $context["userToNotify"] : (function () { throw new RuntimeError('Variable "userToNotify" does not exist.', 1, $this->source); })()), "firstName", [], "any", false, false, false, 1), "html", null, true);
echo "!</h1>
<p>
";
// line 4
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["requestingUser"]) || array_key_exists("requestingUser", $context) ? $context["requestingUser"] : (function () { throw new RuntimeError('Variable "requestingUser" does not exist.', 4, $this->source); })()), "firstName", [], "any", false, false, false, 4), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["requestinUser"]) || array_key_exists("requestinUser", $context) ? $context["requestinUser"] : (function () { throw new RuntimeError('Variable "requestinUser" does not exist.', 4, $this->source); })()), "lastName", [], "any", false, false, false, 4), "html", null, true);
echo " te ha enviado una solicitud para ser capitán de ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 4, $this->source); })()), "name", [], "any", false, false, false, 4), "html", null, true);
echo ".
</p>
<p>
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/";
// line 8
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["league"]) || array_key_exists("league", $context) ? $context["league"] : (function () { throw new RuntimeError('Variable "league" does not exist.', 8, $this->source); })()), "id", [], "any", false, false, false, 8), "html", null, true);
echo "/team/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["team"]) || array_key_exists("team", $context) ? $context["team"] : (function () { throw new RuntimeError('Variable "team" does not exist.', 8, $this->source); })()), "id", [], "any", false, false, false, 8), "html", null, true);
echo "/captain/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["requestingUser"]) || array_key_exists("requestingUser", $context) ? $context["requestingUser"] : (function () { throw new RuntimeError('Variable "requestingUser" does not exist.', 8, $this->source); })()), "id", [], "any", false, false, false, 8), "html", null, true);
echo "\">Aceptar</a>
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/";
// line 9
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["league"]) || array_key_exists("league", $context) ? $context["league"] : (function () { throw new RuntimeError('Variable "league" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, false, 9), "html", null, true);
echo "/user/";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["requestingUser"]) || array_key_exists("requestingUser", $context) ? $context["requestingUser"] : (function () { throw new RuntimeError('Variable "requestingUser" does not exist.', 9, $this->source); })()), "id", [], "any", false, false, false, 9), "html", null, true);
echo "/decline\">Rechazar</a>
</p>";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "teamCaptainRequest.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 66 => 9, 58 => 8, 47 => 4, 40 => 1,);
}
public function getSourceContext()
{
return new Source("<h1>Hola {{ userToNotify.firstName }}!</h1>
<p>
{{ requestingUser.firstName }} {{ requestinUser.lastName}} te ha enviado una solicitud para ser capitán de {{ team.name }}.
</p>
<p>
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/{{ league.id }}/team/{{ team.id }}/captain/{{ requestingUser.id }}\">Aceptar</a>
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/{{ league.id }}/user/{{ requestingUser.id }}/decline\">Rechazar</a>
</p>", "teamCaptainRequest.html.twig", "D:\\My Stuff\\DEVELOPMENT\\LaLiga\\LaLiga-BackEnd\\templates\\teamCaptainRequest.html.twig");
}
}