108 lines
4.8 KiB
PHP
108 lines
4.8 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;
|
|
|
|
/* joinLeague.html.twig */
|
|
class __TwigTemplate_e8a964fda57ed459ddf21b1afc8afda3 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", "joinLeague.html.twig"));
|
|
|
|
// line 1
|
|
echo "<h1>Hola ";
|
|
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["president"]) || array_key_exists("president", $context) ? $context["president"] : (function () { throw new RuntimeError('Variable "president" 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, (isset($context["requestingUserFullName"]) || array_key_exists("requestingUserFullName", $context) ? $context["requestingUserFullName"] : (function () { throw new RuntimeError('Variable "requestingUserFullName" does not exist.', 4, $this->source); })()), "html", null, true);
|
|
echo " te ha enviado una solicitud para unirse a la liga.
|
|
</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 "/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.', 8, $this->source); })()), "id", [], "any", false, false, false, 8), "html", null, true);
|
|
echo "/accept\">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 "joinLeague.html.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 60 => 9, 54 => 8, 47 => 4, 40 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("<h1>Hola {{ president.firstName }}!</h1>
|
|
|
|
<p>
|
|
{{ requestingUserFullName }} te ha enviado una solicitud para unirse a la liga.
|
|
</p>
|
|
|
|
<p>
|
|
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/{{ league.id }}/user/{{ requestingUser.id }}/accept\">Aceptar</a>
|
|
<a href=\"http://developer:mambita@devliga.dyb-tech.com/api/league/{{ league.id }}/user/{{ requestingUser.id }}/decline\">Rechazar</a>
|
|
</p>", "joinLeague.html.twig", "D:\\My Stuff\\DEVELOPMENT\\LaLiga\\LaLiga-BackEnd\\templates\\joinLeague.html.twig");
|
|
}
|
|
}
|