<?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;
/* front/member_single/member.html.twig */
class __TwigTemplate_f5716a9afcdeac18877e5afad868f93d1a3eb1fd76d42b7ae8d7610a99ada999 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base.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/member_single/member.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/member_single/member.html.twig"));
$this->parent = $this->loadTemplate("base.html.twig", "front/member_single/member.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($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", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 3, $this->source); })()), "fullName", [], "any", false, false, false, 3), "html", null, true);
echo " | ";
$this->displayParentBlock("title", $context, $blocks);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($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", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "<section class=\"color-bg middle-padding \">
<div class=\"wave-bg wave-bg2\"></div>
<div class=\"container\">
<div class=\"flat-title-wrap\">
<h2><span>Membre : <strong>";
// line 10
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 10, $this->source); })()), "fullName", [], "any", false, false, false, 10), "html", null, true);
echo "</strong></span></h2>
<span class=\"section-separator\"></span>
<h3 class=\"text-white\">";
// line 12
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 12, $this->source); })()), "profession", [], "any", false, false, false, 12), "html", null, true);
echo "</h3>
</div>
</div>
</section>
<div class=\"breadcrumbs-fs fl-wrap\">
<div class=\"container\">
<div class=\"breadcrumbs fl-wrap\"><a href=\"#\">Membre</a><span>";
// line 19
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 19, $this->source); })()), "fullName", [], "any", false, false, false, 19), "html", null, true);
echo "</span></div>
</div>
</div>
<section id=\"sec1\" class=\"middle-padding grey-blue-bg\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-4\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\" style=\"padding-bottom: 25px !important;\">
<div class=\"box-widget-item-header\">
<h3>À propos</h3>
</div>
<div class=\"box-widget-author fl-wrap\">
<div class=\"box-widget-author-title fl-wrap\">
<div class=\"box-widget-author-title-img\">
";
// line 36
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 36, $this->source); })()), "avatar", [], "any", false, false, false, 36)) {
// line 37
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/files/team/avatar/" . twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 37, $this->source); })()), "avatar", [], "any", false, false, false, 37))), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 37, $this->source); })()), "fullName", [], "any", false, false, false, 37), "html", null, true);
echo "\">
";
} else {
// line 39
echo " <img src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front/images/avatar/1.jpg"), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 39, $this->source); })()), "fullName", [], "any", false, false, false, 39), "html", null, true);
echo "\" />
";
}
// line 41
echo " </div>
<a href=\"";
// line 42
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_front_member_single", ["slug" => twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 42, $this->source); })()), "slug", [], "any", false, false, false, 42)]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 42, $this->source); })()), "fullName", [], "any", false, false, false, 42), "html", null, true);
echo "</a>
<span>";
// line 43
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 43, $this->source); })()), "profession", [], "any", false, false, false, 43), "html", null, true);
echo "</span>
</div>
</div>
<div class=\"list-widget-social\">
<ul>
";
// line 48
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 48, $this->source); })()), "facebook", [], "any", false, false, false, 48)) {
// line 49
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 49, $this->source); })()), "facebook", [], "any", false, false, false, 49), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fab fa-facebook-f\"></i></a></li>
";
}
// line 51
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 51, $this->source); })()), "twitter", [], "any", false, false, false, 51)) {
// line 52
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 52, $this->source); })()), "twitter", [], "any", false, false, false, 52), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
";
}
// line 54
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 54, $this->source); })()), "instagram", [], "any", false, false, false, 54)) {
// line 55
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 55, $this->source); })()), "instagram", [], "any", false, false, false, 55), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fab fa-instagram\"></i></a></li>
";
}
// line 57
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 57, $this->source); })()), "linkedin", [], "any", false, false, false, 57)) {
// line 58
echo " <li><a href=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 58, $this->source); })()), "linkedin", [], "any", false, false, false, 58), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fab fa-linkedin\"></i></a></li>
";
}
// line 60
echo " ";
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 60, $this->source); })()), "email", [], "any", false, false, false, 60)) {
// line 61
echo " <li><a href=\"mailto:";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 61, $this->source); })()), "email", [], "any", false, false, false, 61), "html", null, true);
echo "\" target=\"_blank\"><i class=\"fal fa-envelope\"></i></a></li>
";
}
// line 63
echo " </ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8\">
<div class=\"list-single-main-item fl-wrap no-mar-bottom \">
<div class=\"list-single-main-item-title fl-wrap\">
<h3>";
// line 73
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 73, $this->source); })()), "fullName", [], "any", false, false, false, 73), "html", null, true);
echo "</h3>
</div>
<div class=\"control-description\">
";
// line 76
echo twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 76, $this->source); })()), "about", [], "any", false, false, false, 76);
echo "
</div>
";
// line 78
if (twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 78, $this->source); })()), "affirmation", [], "any", false, false, false, 78)) {
// line 79
echo " <blockquote class=\"mb-0\">
<p>";
// line 80
echo twig_get_attribute($this->env, $this->source, (isset($context["member"]) || array_key_exists("member", $context) ? $context["member"] : (function () { throw new RuntimeError('Variable "member" does not exist.', 80, $this->source); })()), "affirmation", [], "any", false, false, false, 80);
echo "</p>
</blockquote>
";
}
// line 83
echo " </div>
</div>
</div>
</div>
<div class=\"section-decor\"></div>
</section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "front/member_single/member.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 244 => 83, 238 => 80, 235 => 79, 233 => 78, 228 => 76, 222 => 73, 210 => 63, 204 => 61, 201 => 60, 195 => 58, 192 => 57, 186 => 55, 183 => 54, 177 => 52, 174 => 51, 168 => 49, 166 => 48, 158 => 43, 152 => 42, 149 => 41, 141 => 39, 133 => 37, 131 => 36, 111 => 19, 101 => 12, 96 => 10, 90 => 6, 80 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.html.twig' %}
{% block title %}{{ member.fullName }} | {{ parent() }}{% endblock %}
{% block body %}
<section class=\"color-bg middle-padding \">
<div class=\"wave-bg wave-bg2\"></div>
<div class=\"container\">
<div class=\"flat-title-wrap\">
<h2><span>Membre : <strong>{{ member.fullName }}</strong></span></h2>
<span class=\"section-separator\"></span>
<h3 class=\"text-white\">{{ member.profession }}</h3>
</div>
</div>
</section>
<div class=\"breadcrumbs-fs fl-wrap\">
<div class=\"container\">
<div class=\"breadcrumbs fl-wrap\"><a href=\"#\">Membre</a><span>{{ member.fullName }}</span></div>
</div>
</div>
<section id=\"sec1\" class=\"middle-padding grey-blue-bg\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-md-4\">
<div class=\"box-widget-item fl-wrap\">
<div class=\"box-widget\">
<div class=\"box-widget-content\" style=\"padding-bottom: 25px !important;\">
<div class=\"box-widget-item-header\">
<h3>À propos</h3>
</div>
<div class=\"box-widget-author fl-wrap\">
<div class=\"box-widget-author-title fl-wrap\">
<div class=\"box-widget-author-title-img\">
{% if member.avatar %}
<img src=\"{{ asset('/uploads/files/team/avatar/' ~ member.avatar) }}\" alt=\"{{ member.fullName }}\">
{% else %}
<img src=\"{{ asset('front/images/avatar/1.jpg') }}\" alt=\"{{ member.fullName }}\" />
{% endif %}
</div>
<a href=\"{{ url('app_front_member_single', {'slug': member.slug }) }}\">{{ member.fullName }}</a>
<span>{{ member.profession }}</span>
</div>
</div>
<div class=\"list-widget-social\">
<ul>
{% if member.facebook %}
<li><a href=\"{{ member.facebook }}\" target=\"_blank\"><i class=\"fab fa-facebook-f\"></i></a></li>
{% endif %}
{% if member.twitter %}
<li><a href=\"{{ member.twitter }}\" target=\"_blank\"><i class=\"fab fa-twitter\"></i></a></li>
{% endif %}
{% if member.instagram %}
<li><a href=\"{{ member.instagram }}\" target=\"_blank\"><i class=\"fab fa-instagram\"></i></a></li>
{% endif %}
{% if member.linkedin %}
<li><a href=\"{{ member.linkedin }}\" target=\"_blank\"><i class=\"fab fa-linkedin\"></i></a></li>
{% endif %}
{% if member.email %}
<li><a href=\"mailto:{{ member.email }}\" target=\"_blank\"><i class=\"fal fa-envelope\"></i></a></li>
{% endif %}
</ul>
</div>
</div>
</div>
</div>
</div>
<div class=\"col-md-8\">
<div class=\"list-single-main-item fl-wrap no-mar-bottom \">
<div class=\"list-single-main-item-title fl-wrap\">
<h3>{{ member.fullName }}</h3>
</div>
<div class=\"control-description\">
{{ member.about|raw }}
</div>
{% if member.affirmation %}
<blockquote class=\"mb-0\">
<p>{{ member.affirmation|raw }}</p>
</blockquote>
{% endif %}
</div>
</div>
</div>
</div>
<div class=\"section-decor\"></div>
</section>
{% endblock %}
", "front/member_single/member.html.twig", "/var/www/vhosts/resoh.fr/httpdocs/templates/front/member_single/member.html.twig");
}
}