<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\MacroNamespace;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Sandbox\SecurityNotAllowedTestError;
use Twig\Source;
use Twig\Template;
use Twig\TemplateWrapper;
/* Front/Scholar/PracticalCase/show.html.twig */
class __TwigTemplate_65356ed7688834e368df8e153816c3bc extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
private \Twig\Runtime\EscaperRuntime $escaper;
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->escaper = $env->getRuntime('Twig\Runtime\EscaperRuntime');
$this->blocks = [
'back_to_dashboard' => [$this, 'block_back_to_dashboard'],
'title' => [$this, 'block_title'],
'attribute_body' => [$this, 'block_attribute_body'],
'breadcrumbs' => [$this, 'block_breadcrumbs'],
'page_title' => [$this, 'block_page_title'],
'partial_form' => [$this, 'block_partial_form'],
'side_nav_right' => [$this, 'block_side_nav_right'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 1
return $this->parent ??= $this->load("Layout/layout_side_nav.html.twig", 1);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Scholar/PracticalCase/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Scholar/PracticalCase/show.html.twig"));
$this->parent = $this->load("Layout/layout_side_nav.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_back_to_dashboard(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "back_to_dashboard"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "back_to_dashboard"));
// line 4
yield " ";
yield from $this->load("Front/Scholar/Partial/_back_to_dashboard.html.twig", 4)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 7
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
// line 8
yield " ";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.lesson.show.cas_pratique.show.title.label"), "html", null, true);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 11
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_attribute_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "attribute_body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "attribute_body"));
yield "class=\"practical-case-front\"";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 13
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_breadcrumbs(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "breadcrumbs"));
// line 14
yield " ";
yield from $this->load("@NellappSDK/Partials/component/breadcrumb/breadcrumb.html.twig", 14)->unwrap()->yield(CoreExtension::merge($context, ["breadcrumb" => ["items" => [["title" => "Toutes mes formations", "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_user_scholar_training_card")], ["title" => CoreExtension::getAttribute($this->env, $this->source, // line 22
(isset($context["training"]) || array_key_exists("training", $context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.', 22, $this->source); })()), "name", [], "any", false, false, false, 22), "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_channel_training_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, // line 23
(isset($context["training"]) || array_key_exists("training", $context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.', 23, $this->source); })()), "id", [], "any", false, false, false, 23)])], ["title" => CoreExtension::getAttribute($this->env, $this->source, // line 26
(isset($context["module"]) || array_key_exists("module", $context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.', 26, $this->source); })()), "name", [], "any", false, false, false, 26), "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_channel_training_show", ["id" => CoreExtension::getAttribute($this->env, $this->source, // line 27
(isset($context["training"]) || array_key_exists("training", $context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.', 27, $this->source); })()), "id", [], "any", false, false, false, 27)])], ["title" => CoreExtension::getAttribute($this->env, $this->source, // line 30
(isset($context["lesson"]) || array_key_exists("lesson", $context) ? $context["lesson"] : (function () { throw new RuntimeError('Variable "lesson" does not exist.', 30, $this->source); })()), "name", [], "any", false, false, false, 30), "path" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("front_channel_lesson_show", ["lessonId" => CoreExtension::getAttribute($this->env, $this->source, // line 31
(isset($context["lesson"]) || array_key_exists("lesson", $context) ? $context["lesson"] : (function () { throw new RuntimeError('Variable "lesson" does not exist.', 31, $this->source); })()), "id", [], "any", false, false, false, 31), "moduleId" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["module"]) || array_key_exists("module", $context) ? $context["module"] : (function () { throw new RuntimeError('Variable "module" does not exist.', 31, $this->source); })()), "id", [], "any", false, false, false, 31), "trainingId" => CoreExtension::getAttribute($this->env, $this->source, (isset($context["training"]) || array_key_exists("training", $context) ? $context["training"] : (function () { throw new RuntimeError('Variable "training" does not exist.', 31, $this->source); })()), "id", [], "any", false, false, false, 31)])], ["title" => $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.lesson.show.cas_pratique.show.title.label")]]]]));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 39
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_page_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
// line 40
yield " ";
yield (string) $this->escaper->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["practicalCase"]) || array_key_exists("practicalCase", $context) ? $context["practicalCase"] : (function () { throw new RuntimeError('Variable "practicalCase" does not exist.', 40, $this->source); })()), "title", [], "any", false, false, false, 40), "html", null, true);
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 43
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_partial_form(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "partial_form"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "partial_form"));
// line 44
yield " <p class=\"sub-title\">";
yield (string) $this->escaper->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("front.scholar.lesson.show.cas_pratique.label"), "html", null, true);
yield "</p>
";
// line 45
yield from $this->load("Front/Scholar/PracticalCase/show_with_tabs.html.twig", 45)->unwrap()->yield($context);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
// line 48
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_side_nav_right(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "side_nav_right"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "side_nav_right"));
// line 49
yield " ";
if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 49, $this->source); })()), "user", [], "any", false, false, false, 49)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) {
// line 50
yield " ";
$preRendered = $this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->extensionPreCreateForRender("ChannelUserData:CursusLockout", Twig\Extension\CoreExtension::toArray(["cursus" => (((array_key_exists("cursus", $context) && !(null === $context["cursus"]))) ? ($context["cursus"]) : (null))]));
if (null !== $preRendered) {
echo $preRendered;
} else {
$preRenderEvent = $this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->startEmbeddedComponentRender("ChannelUserData:CursusLockout", Twig\Extension\CoreExtension::toArray(["cursus" => (((array_key_exists("cursus", $context) && !(null === $context["cursus"]))) ? ($context["cursus"]) : (null))]), $context, "Front/Scholar/PracticalCase/show.html.twig", 40034838941);
$embeddedContext = $preRenderEvent->getVariables();
$embeddedContext["__parent__"] = $preRenderEvent->getTemplate();
if (!isset($embeddedContext["outerBlocks"])) {
$embeddedContext["outerBlocks"] = new \Symfony\UX\TwigComponent\BlockStack();
}
$embeddedBlocks = $embeddedContext["outerBlocks"]->convert($blocks, 40034838941);
$this->loadTemplate("Front/Scholar/PracticalCase/show.html.twig", "Front/Scholar/PracticalCase/show.html.twig", 50, "40034838941")->display($embeddedContext, $embeddedBlocks);
$this->extensions["Symfony\\UX\\TwigComponent\\Twig\\ComponentExtension"]->finishEmbeddedComponentRender();
}
// line 51
yield " ";
}
// line 52
yield "
";
// line 53
if (array_key_exists("role", $context)) {
// line 54
yield " ";
if (((isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 54, $this->source); })()) === "learner")) {
// line 55
yield " ";
yield from $this->load("Front/Scholar/PracticalCase/learner_messaging.html.twig", 55)->unwrap()->yield($context);
// line 56
yield " ";
} elseif (((isset($context["role"]) || array_key_exists("role", $context) ? $context["role"] : (function () { throw new RuntimeError('Variable "role" does not exist.', 56, $this->source); })()) === "corrector")) {
// line 57
yield " ";
yield from $this->load("Front/Scholar/PracticalCase/corrector_messaging.html.twig", 57)->unwrap()->yield($context);
// line 58
yield " ";
}
// line 59
yield " ";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Front/Scholar/PracticalCase/show.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 291 => 59, 288 => 58, 285 => 57, 282 => 56, 279 => 55, 276 => 54, 274 => 53, 271 => 52, 268 => 51, 252 => 50, 249 => 49, 236 => 48, 225 => 45, 220 => 44, 207 => 43, 193 => 40, 180 => 39, 169 => 31, 168 => 30, 167 => 27, 166 => 26, 165 => 23, 164 => 22, 162 => 14, 149 => 13, 126 => 11, 112 => 8, 99 => 7, 87 => 4, 74 => 3, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27Layout/layout_side_nav.html.twig\x27 %}
{% block back_to_dashboard %}
{% include \x27Front/Scholar/Partial/_back_to_dashboard.html.twig\x27 %}
{% endblock back_to_dashboard %}
{% block title %}
{{ \x27front.scholar.lesson.show.cas_pratique.show.title.label\x27 | trans }}
{% endblock %}
{% block attribute_body %}class=\"practical-case-front\"{% endblock %}
{% block breadcrumbs %}
{% include \x27@NellappSDK/Partials/component/breadcrumb/breadcrumb.html.twig\x27 with {
\x27breadcrumb\x27 : {
\x27items\x27: [
{
\x27title\x27: \x27Toutes mes formations\x27,
\x27path\x27: path(\x27front_user_scholar_training_card\x27)
},
{
\x27title\x27: training.name,
\x27path\x27: path(\x27front_channel_training_show\x27, {\x27id\x27: training.id}),
},
{
\x27title\x27: module.name,
\x27path\x27: path(\x27front_channel_training_show\x27, {\x27id\x27: training.id})
},
{
\x27title\x27: lesson.name,
\x27path\x27: path(\x27front_channel_lesson_show\x27, {\x27lessonId\x27: lesson.id, \x27moduleId\x27: module.id, \x27trainingId\x27: training.id}),
},
{\x27title\x27: \x27front.scholar.lesson.show.cas_pratique.show.title.label\x27 | trans }
]
}
} %}
{% endblock %}
{% block page_title %}
{{ practicalCase.title }}
{% endblock %}
{% block partial_form %}
<p class=\"sub-title\">{{ \x27front.scholar.lesson.show.cas_pratique.label\x27 | trans }}</p>
{% include \x27Front/Scholar/PracticalCase/show_with_tabs.html.twig\x27 %}
{% endblock %}
{% block side_nav_right %}
{% if app.user %}
{% component \x27ChannelUserData:CursusLockout\x27 with { cursus: cursus ?? null } %}{% endcomponent %}
{% endif %}
{% if role is defined %}
{% if role is same as \x27learner\x27 %}
{% include \x27Front/Scholar/PracticalCase/learner_messaging.html.twig\x27 %}
{% elseif role is same as \x27corrector\x27 %}
{% include \x27Front/Scholar/PracticalCase/corrector_messaging.html.twig\x27 %}
{% endif %}
{% endif %}
{% endblock %}
", "Front/Scholar/PracticalCase/show.html.twig", "/var/www/html/templates/Front/Scholar/PracticalCase/show.html.twig");
}
}
/* Front/Scholar/PracticalCase/show.html.twig */
class __TwigTemplate_65356ed7688834e368df8e153816c3bc___40034838941 extends Template
{
private Source $source;
/**
* @var array<string, MacroNamespace>
*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'outer__block_fallback' => [$this, 'block_outer__block_fallback'],
];
}
protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
{
// line 50
return $this->load((isset($context["__parent__"]) || array_key_exists("__parent__", $context) ? $context["__parent__"] : (function () { throw new RuntimeError('Variable "__parent__" does not exist.', 50, $this->source); })()), 50);
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Scholar/PracticalCase/show.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Front/Scholar/PracticalCase/show.html.twig"));
yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
/**
* @return iterable<null|scalar|\Stringable>
*/
public function block_outer__block_fallback(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "outer__block_fallback"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield;
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "Front/Scholar/PracticalCase/show.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDefaultEscapeStrategy(): string|false
{
return "html";
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 425 => 50, 291 => 59, 288 => 58, 285 => 57, 282 => 56, 279 => 55, 276 => 54, 274 => 53, 271 => 52, 268 => 51, 252 => 50, 249 => 49, 236 => 48, 225 => 45, 220 => 44, 207 => 43, 193 => 40, 180 => 39, 169 => 31, 168 => 30, 167 => 27, 166 => 26, 165 => 23, 164 => 22, 162 => 14, 149 => 13, 126 => 11, 112 => 8, 99 => 7, 87 => 4, 74 => 3, 51 => 1,);
}
public function getSourceContext(): Source
{
return new Source("{% extends \x27Layout/layout_side_nav.html.twig\x27 %}
{% block back_to_dashboard %}
{% include \x27Front/Scholar/Partial/_back_to_dashboard.html.twig\x27 %}
{% endblock back_to_dashboard %}
{% block title %}
{{ \x27front.scholar.lesson.show.cas_pratique.show.title.label\x27 | trans }}
{% endblock %}
{% block attribute_body %}class=\"practical-case-front\"{% endblock %}
{% block breadcrumbs %}
{% include \x27@NellappSDK/Partials/component/breadcrumb/breadcrumb.html.twig\x27 with {
\x27breadcrumb\x27 : {
\x27items\x27: [
{
\x27title\x27: \x27Toutes mes formations\x27,
\x27path\x27: path(\x27front_user_scholar_training_card\x27)
},
{
\x27title\x27: training.name,
\x27path\x27: path(\x27front_channel_training_show\x27, {\x27id\x27: training.id}),
},
{
\x27title\x27: module.name,
\x27path\x27: path(\x27front_channel_training_show\x27, {\x27id\x27: training.id})
},
{
\x27title\x27: lesson.name,
\x27path\x27: path(\x27front_channel_lesson_show\x27, {\x27lessonId\x27: lesson.id, \x27moduleId\x27: module.id, \x27trainingId\x27: training.id}),
},
{\x27title\x27: \x27front.scholar.lesson.show.cas_pratique.show.title.label\x27 | trans }
]
}
} %}
{% endblock %}
{% block page_title %}
{{ practicalCase.title }}
{% endblock %}
{% block partial_form %}
<p class=\"sub-title\">{{ \x27front.scholar.lesson.show.cas_pratique.label\x27 | trans }}</p>
{% include \x27Front/Scholar/PracticalCase/show_with_tabs.html.twig\x27 %}
{% endblock %}
{% block side_nav_right %}
{% if app.user %}
{% component \x27ChannelUserData:CursusLockout\x27 with { cursus: cursus ?? null } %}{% endcomponent %}
{% endif %}
{% if role is defined %}
{% if role is same as \x27learner\x27 %}
{% include \x27Front/Scholar/PracticalCase/learner_messaging.html.twig\x27 %}
{% elseif role is same as \x27corrector\x27 %}
{% include \x27Front/Scholar/PracticalCase/corrector_messaging.html.twig\x27 %}
{% endif %}
{% endif %}
{% endblock %}
", "Front/Scholar/PracticalCase/show.html.twig", "/var/www/html/templates/Front/Scholar/PracticalCase/show.html.twig");
}
}