<?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;
/* Pages/Study/introduction.html.twig */
class __TwigTemplate_c125ac529993dfd22fdb21e3a410420fdbc5bf1a4dacd1efbff8918ad5a386ad extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'content' => [$this, 'block_content'],
'help_for_section' => [$this, 'block_help_for_section'],
'help_for_metadata' => [$this, 'block_help_for_metadata'],
];
$macros["_self"] = $this->macros["_self"] = $this;
}
protected function doGetParent(array $context)
{
// line 1
return "Layouts/threeColumn.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", "Pages/Study/introduction.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Pages/Study/introduction.html.twig"));
// line 2
$macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this->loadTemplate("Components/_macros.html.twig", "Pages/Study/introduction.html.twig", 2)->unwrap();
// line 3
$macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this->loadTemplate("Components/_macros.html.twig", "Pages/Study/introduction.html.twig", 3)->unwrap();
// line 4
$macros["__internal_parse_2"] = $this->macros["__internal_parse_2"] = $this->loadTemplate("Components/_macros.html.twig", "Pages/Study/introduction.html.twig", 4)->unwrap();
// line 12
$context["isPartOfStudyDocumentation"] = true;
// line 1
$this->parent = $this->loadTemplate("Layouts/threeColumn.html.twig", "Pages/Study/introduction.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 14
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"));
// line 15
echo " ";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.title"), "html", null, true);
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 18
public function block_content($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", "content"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
// line 19
echo " <h2 class=\"MetaDataGroup-Title\">
";
// line 20
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.title"), "html", null, true);
echo "
</h2>
<div class=\"MetaData-Widget markdown\">
";
// line 24
echo $this->env->getRuntime('Twig\Extra\Markdown\MarkdownRuntime')->convert($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.start.intro", ["#helpBtn#" => twig_call_macro($macros["__internal_parse_0"], "macro_helpButton", ["help_intro"], 26, $context, $this->getSourceContext()), "#startBtn#" => twig_call_macro($macros["_self"], "macro_startButton", [$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("Study-documentation", ["uuid" => twig_get_attribute($this->env, $this->source, // line 27
(isset($context["experiment"]) || array_key_exists("experiment", $context) ? $context["experiment"] : (function () { throw new RuntimeError('Variable "experiment" does not exist.', 27, $this->source); })()), "id", [], "any", false, false, false, 27)])], 27, $context, $this->getSourceContext())]));
// line 28
echo "
";
// line 29
echo $this->env->getRuntime('Twig\Extra\Markdown\MarkdownRuntime')->convert($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.start.steps"));
echo "
</div>
";
// line 32
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\View\\Controller\\NavigationController::savebarNavigationAction", ["request" => twig_get_attribute($this->env, $this->source, // line 33
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 33, $this->source); })()), "request", [], "any", false, false, false, 33), "prevUrl" => null, "prevTitle" => null, "nextUrl" => "Study-documentation", "nextTitle" => ("Step 1: " . $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.describe-study.title")), "form" => null]));
// line 39
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 43
public function block_help_for_section($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", "help_for_section"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "help_for_section"));
// line 44
echo " ";
echo twig_call_macro($macros["__internal_parse_1"], "macro_sectionHelp", ["study_introduction"], 44, $context, $this->getSourceContext());
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 47
public function block_help_for_metadata($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", "help_for_metadata"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "help_for_metadata"));
// line 48
echo " ";
echo twig_call_macro($macros["__internal_parse_2"], "macro_formHelp", ["study_introduction", "help_intro", "title.introduction.h3_2"], 48, $context, $this->getSourceContext());
echo "
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 6
public function macro_startButton($__startUrl__ = null, ...$__varargs__)
{
$macros = $this->macros;
$context = $this->env->mergeGlobals([
"startUrl" => $__startUrl__,
"varargs" => $__varargs__,
]);
$blocks = [];
ob_start();
try {
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "startButton"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "startButton"));
// line 7
echo " <a href=\"";
echo twig_escape_filter($this->env, (isset($context["startUrl"]) || array_key_exists("startUrl", $context) ? $context["startUrl"] : (function () { throw new RuntimeError('Variable "startUrl" does not exist.', 7, $this->source); })()), "html", null, true);
echo "\"
class=\"table mx-auto mt-6 mb-10 !no-underline Button Button_primary Button_primary_go Button_standalone\">Start
with step 1</a>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset());
} finally {
ob_end_clean();
}
}
public function getTemplateName()
{
return "Pages/Study/introduction.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 206 => 7, 187 => 6, 174 => 48, 164 => 47, 151 => 44, 141 => 43, 129 => 39, 127 => 33, 126 => 32, 120 => 29, 117 => 28, 115 => 27, 114 => 24, 107 => 20, 104 => 19, 94 => 18, 81 => 15, 71 => 14, 60 => 1, 58 => 12, 56 => 4, 54 => 3, 52 => 2, 39 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"Layouts/threeColumn.html.twig\" %}
{% from \"Components/_macros.html.twig\" import helpButton %}
{% from \"Components/_macros.html.twig\" import sectionHelp %}
{% from \"Components/_macros.html.twig\" import formHelp %}
{% macro startButton(startUrl) %}
<a href=\"{{ startUrl }}\"
class=\"table mx-auto mt-6 mb-10 !no-underline Button Button_primary Button_primary_go Button_standalone\">Start
with step 1</a>
{% endmacro %}
{% set isPartOfStudyDocumentation = true %}
{% block title %}
{{ \"title.introduction.title\"|trans }}
{% endblock %}
{% block content %}
<h2 class=\"MetaDataGroup-Title\">
{{ \"title.introduction.title\"|trans }}
</h2>
<div class=\"MetaData-Widget markdown\">
{{ \"title.introduction.start.intro\"
| trans({
'#helpBtn#':helpButton('help_intro'),
'#startBtn#':_self.startButton(path('Study-documentation', {uuid: experiment.id}))})
| markdown_to_html }}
{{ \"title.introduction.start.steps\" | trans | markdown_to_html }}
</div>
{{ render(controller('App\\\\View\\\\Controller\\\\NavigationController::savebarNavigationAction', {
request: app.request,
prevUrl: null,
prevTitle: null,
nextUrl: 'Study-documentation',
nextTitle: 'Step 1: ' ~ 'title.describe-study.title'|trans,
form: null
})) }}
{% endblock %}
{% block help_for_section %}
{{ sectionHelp(\"study_introduction\") }}
{% endblock %}
{% block help_for_metadata %}
{{ formHelp(\"study_introduction\", \"help_intro\", \"title.introduction.h3_2\") }}
{% endblock %}
", "Pages/Study/introduction.html.twig", "/app/source/View/Templates/Pages/Study/introduction.html.twig");
}
}