<?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;
/* backend/certif_conference/index.html.twig */
class __TwigTemplate_f90717cc3a80293a18099ec5198bc821a5e7ba28174750a8a8c9c0f24ac0a8fc extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "backend/backend/add.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", "backend/certif_conference/index.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "backend/certif_conference/index.html.twig"));
$this->parent = $this->loadTemplate("backend/backend/add.html.twig", "backend/certif_conference/index.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 4
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 5
echo "\t<div class=\"content-body\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"row page-titles mx-0\">
\t\t\t\t<div class=\"col-sm-6 p-md-0\">
\t\t\t\t\t<div class=\"welcome-text\">
\t\t\t\t\t\t<h4>Bienvenue!</h4>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex\">
\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"";
// line 16
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_dashboard");
echo "\">Dashboard</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"breadcrumb-item active\">
\t\t\t\t\t\t\t<a href=\"";
// line 19
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_certif_conference_index");
echo "\">Les certificats des conferenciers</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ol>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 p-2\">
\t\t\t\t\t<a href=\"";
// line 26
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_certif_conference_new");
echo "\" style=\"color: white\">
\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" style=\"background-color: green; border-color: green;\">
\t\t\t\t\t\t\t<i class=\"fa fa-plus\">
\t\t\t\t\t\t\t\tAjouter une certificat</i>
\t\t\t\t\t\t</button>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t\t<table class=\"table text-muted\" id=\"example\">
\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t<th>Id</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Orateur</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Titre</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Session</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Event</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Download</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Category</th>
\t\t\t\t\t\t\t\t\t\t\t<th>actions</th>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t";
// line 54
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["certif_conferences"]) || array_key_exists("certif_conferences", $context) ? $context["certif_conferences"] : (function () { throw new RuntimeError('Variable "certif_conferences" does not exist.', 54, $this->source); })()));
$context['_iterated'] = false;
foreach ($context['_seq'] as $context["_key"] => $context["certif_conference"]) {
// line 55
echo "\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 56
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 56), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 57
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "orateur", [], "any", false, false, false, 57), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 58
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "titre", [], "any", false, false, false, 58), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 59
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "session", [], "any", false, false, false, 59), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 60
echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, $context["certif_conference"], "IsEvent", [], "any", false, false, false, 60)) ? (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "event", [], "any", false, false, false, 60), "titre", [], "any", false, false, false, 60)) : (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["certif_conference"], "congres", [], "any", false, false, false, 60), "label", [], "any", false, false, false, 60))), "html", null, true);
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
// line 62
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("certificats-conference-download", ["id" => twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 62)]), "html", null, true);
echo "\" target=\"_blank\" class=\"btn btn-outline-warning\">Download</a>
\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>";
// line 64
echo ((twig_get_attribute($this->env, $this->source, $context["certif_conference"], "IsLecture", [], "any", false, false, false, 64)) ? ("Conférencier/deleguate") : (((twig_get_attribute($this->env, $this->source, $context["certif_conference"], "IsModerator", [], "any", false, false, false, 64)) ? ("moderator") : (((twig_get_attribute($this->env, $this->source, $context["certif_conference"], "IsWorkshop", [], "any", false, false, false, 64)) ? ("Workshop") : (((twig_get_attribute($this->env, $this->source, $context["certif_conference"], "IsDirectorWorkshop", [], "any", false, false, false, 64)) ? ("Director Workshop") : (""))))))));
echo "</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-muted\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-info\" href=\"";
// line 67
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_certif_conference_show", ["id" => twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 67)]), "html", null, true);
echo "\">show</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-warning\" href=\"";
// line 68
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_certif_conference_edit", ["id" => twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 68)]), "html", null, true);
echo "\">edit</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"post\" action=\"";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_certif_conference_delete", ["id" => twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 69)]), "html", null, true);
echo "\" onsubmit=\"return confirm('Are you sure you want to delete this item?');\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_token\" value=\"";
// line 70
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(("delete" . twig_get_attribute($this->env, $this->source, $context["certif_conference"], "id", [], "any", false, false, false, 70))), "html", null, true);
echo "\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btn-outline-danger\">delete</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t";
$context['_iterated'] = true;
}
if (!$context['_iterated']) {
// line 76
echo "\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"9\">no records found</td>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['certif_conference'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 80
echo "\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t<tfoot>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t<th>Id</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Orateur</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Titre</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Session</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Event</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Download</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Category</th>
\t\t\t\t\t\t\t\t\t\t\t<th>actions</th>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</tfoot>
\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "backend/certif_conference/index.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 200 => 80, 191 => 76, 180 => 70, 176 => 69, 172 => 68, 168 => 67, 162 => 64, 157 => 62, 152 => 60, 148 => 59, 144 => 58, 140 => 57, 136 => 56, 133 => 55, 128 => 54, 97 => 26, 87 => 19, 81 => 16, 68 => 5, 58 => 4, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'backend/backend/add.html.twig' %}
{% block body %}
\t<div class=\"content-body\">
\t\t<div class=\"container-fluid\">
\t\t\t<div class=\"row page-titles mx-0\">
\t\t\t\t<div class=\"col-sm-6 p-md-0\">
\t\t\t\t\t<div class=\"welcome-text\">
\t\t\t\t\t\t<h4>Bienvenue!</h4>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t\t<div class=\"col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex\">
\t\t\t\t\t<ol class=\"breadcrumb\">
\t\t\t\t\t\t<li class=\"breadcrumb-item\">
\t\t\t\t\t\t\t<a href=\"{{path('app_dashboard')}}\">Dashboard</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t\t<li class=\"breadcrumb-item active\">
\t\t\t\t\t\t\t<a href=\"{{path('app_certif_conference_index')}}\">Les certificats des conferenciers</a>
\t\t\t\t\t\t</li>
\t\t\t\t\t</ol>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12 p-2\">
\t\t\t\t\t<a href=\"{{ path('app_certif_conference_new')}}\" style=\"color: white\">
\t\t\t\t\t\t<button type=\"button\" class=\"btn btn-primary\" style=\"background-color: green; border-color: green;\">
\t\t\t\t\t\t\t<i class=\"fa fa-plus\">
\t\t\t\t\t\t\t\tAjouter une certificat</i>
\t\t\t\t\t\t</button>
\t\t\t\t\t</a>
\t\t\t\t</div>
\t\t\t</div>
\t\t\t<div class=\"row\">
\t\t\t\t<div class=\"col-12\">
\t\t\t\t\t<div class=\"card\">
\t\t\t\t\t\t<div class=\"card-body\">
\t\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t\t<table class=\"table text-muted\" id=\"example\">
\t\t\t\t\t\t\t\t\t<thead>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t<th>Id</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Orateur</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Titre</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Session</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Event</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Download</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Category</th>
\t\t\t\t\t\t\t\t\t\t\t<th>actions</th>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</thead>
\t\t\t\t\t\t\t\t\t<tbody>
\t\t\t\t\t\t\t\t\t\t{% for certif_conference in certif_conferences %}
\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.id }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.orateur }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.titre }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.session }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.IsEvent ? certif_conference.event.titre : certif_conference.congres.label }}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>
\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{path('certificats-conference-download',{'id' : certif_conference.id })}}\" target=\"_blank\" class=\"btn btn-outline-warning\">Download</a>
\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td>{{ certif_conference.IsLecture ? 'Conférencier/deleguate' : certif_conference.IsModerator ? 'moderator' : certif_conference.IsWorkshop ? 'Workshop' : certif_conference.IsDirectorWorkshop ? 'Director Workshop'}}</td>
\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-muted\">
\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-info\" href=\"{{ path('app_certif_conference_show', {'id': certif_conference.id}) }}\">show</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"btn btn-outline-warning\" href=\"{{ path('app_certif_conference_edit', {'id': certif_conference.id}) }}\">edit</a>
\t\t\t\t\t\t\t\t\t\t\t\t\t<form method=\"post\" action=\"{{ path('app_certif_conference_delete', {'id': certif_conference.id}) }}\" onsubmit=\"return confirm('Are you sure you want to delete this item?');\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"_token\" value=\"{{ csrf_token('delete' ~ certif_conference.id) }}\">
\t\t\t\t\t\t\t\t\t\t\t\t\t\t<button class=\"btn btn-outline-danger\">delete</button>
\t\t\t\t\t\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t{% else %}
\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t<td colspan=\"9\">no records found</td>
\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t\t</tbody>
\t\t\t\t\t\t\t\t\t<tfoot>
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t<th>Id</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Orateur</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Titre</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Session</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Event</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Download</th>
\t\t\t\t\t\t\t\t\t\t\t<th>Category</th>
\t\t\t\t\t\t\t\t\t\t\t<th>actions</th>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t</tfoot>
\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
", "backend/certif_conference/index.html.twig", "/home/urotunisuz/www/templates/backend/certif_conference/index.html.twig");
}
}