var/cache/dev/twig/e3/e3aceafc5c5f2807acaa9cf32428f071f132998a8e433d28cfff72d32c9e3a13.php line 61

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* Pages/Study/introduction.html.twig */
  14. class __TwigTemplate_c125ac529993dfd22fdb21e3a410420fdbc5bf1a4dacd1efbff8918ad5a386ad extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'content' => [$this'block_content'],
  25.             'help_for_section' => [$this'block_help_for_section'],
  26.             'help_for_metadata' => [$this'block_help_for_metadata'],
  27.         ];
  28.         $macros["_self"] = $this->macros["_self"] = $this;
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "Layouts/threeColumn.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/Study/introduction.html.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Pages/Study/introduction.html.twig"));
  42.         // line 2
  43.         $macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this->loadTemplate("Components/_macros.html.twig""Pages/Study/introduction.html.twig"2)->unwrap();
  44.         // line 3
  45.         $macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this->loadTemplate("Components/_macros.html.twig""Pages/Study/introduction.html.twig"3)->unwrap();
  46.         // line 4
  47.         $macros["__internal_parse_2"] = $this->macros["__internal_parse_2"] = $this->loadTemplate("Components/_macros.html.twig""Pages/Study/introduction.html.twig"4)->unwrap();
  48.         // line 12
  49.         $context["isPartOfStudyDocumentation"] = true;
  50.         // line 1
  51.         $this->parent $this->loadTemplate("Layouts/threeColumn.html.twig""Pages/Study/introduction.html.twig"1);
  52.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  53.         
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.     }
  58.     // line 14
  59.     public function block_title($context, array $blocks = [])
  60.     {
  61.         $macros $this->macros;
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         // line 15
  67.         echo "    ";
  68.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.title"), "html"nulltrue);
  69.         echo "
  70. ";
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.     }
  76.     // line 18
  77.     public function block_content($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  84.         // line 19
  85.         echo "    <h2 class=\"MetaDataGroup-Title\">
  86.         ";
  87.         // line 20
  88.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.title"), "html"nulltrue);
  89.         echo "
  90.     </h2>
  91.     <div class=\"MetaData-Widget markdown\">
  92.         ";
  93.         // line 24
  94.         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
  95. (isset($context["experiment"]) || array_key_exists("experiment"$context) ? $context["experiment"] : (function () { throw new RuntimeError('Variable "experiment" does not exist.'27$this->source); })()), "id", [], "any"falsefalsefalse27)])], 27$context$this->getSourceContext())]));
  96.         // line 28
  97.         echo "
  98.         ";
  99.         // line 29
  100.         echo $this->env->getRuntime('Twig\Extra\Markdown\MarkdownRuntime')->convert($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.introduction.start.steps"));
  101.         echo "
  102.     </div>
  103.     ";
  104.         // line 32
  105.         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
  106. (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'33$this->source); })()), "request", [], "any"falsefalsefalse33), "prevUrl" => null"prevTitle" => null"nextUrl" => "Study-documentation""nextTitle" => ("Step 1: " $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("title.describe-study.title")), "form" => null]));
  107.         // line 39
  108.         echo "
  109. ";
  110.         
  111.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  112.         
  113.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  114.     }
  115.     // line 43
  116.     public function block_help_for_section($context, array $blocks = [])
  117.     {
  118.         $macros $this->macros;
  119.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""help_for_section"));
  121.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  122.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""help_for_section"));
  123.         // line 44
  124.         echo "    ";
  125.         echo twig_call_macro($macros["__internal_parse_1"], "macro_sectionHelp", ["study_introduction"], 44$context$this->getSourceContext());
  126.         echo "
  127. ";
  128.         
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  130.         
  131.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  132.     }
  133.     // line 47
  134.     public function block_help_for_metadata($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""help_for_metadata"));
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""help_for_metadata"));
  141.         // line 48
  142.         echo "    ";
  143.         echo twig_call_macro($macros["__internal_parse_2"], "macro_formHelp", ["study_introduction""help_intro""title.introduction.h3_2"], 48$context$this->getSourceContext());
  144.         echo "
  145. ";
  146.         
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  148.         
  149.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  150.     }
  151.     // line 6
  152.     public function macro_startButton($__startUrl__ null, ...$__varargs__)
  153.     {
  154.         $macros $this->macros;
  155.         $context $this->env->mergeGlobals([
  156.             "startUrl" => $__startUrl__,
  157.             "varargs" => $__varargs__,
  158.         ]);
  159.         $blocks = [];
  160.         ob_start();
  161.         try {
  162.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""startButton"));
  164.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""startButton"));
  166.             // line 7
  167.             echo "    <a href=\"";
  168.             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"nulltrue);
  169.             echo "\"
  170.        class=\"table mx-auto mt-6 mb-10 !no-underline Button Button_primary Button_primary_go Button_standalone\">Start
  171.         with step 1</a>
  172. ";
  173.             
  174.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  175.             
  176.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  177.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  178.         } finally {
  179.             ob_end_clean();
  180.         }
  181.     }
  182.     public function getTemplateName()
  183.     {
  184.         return "Pages/Study/introduction.html.twig";
  185.     }
  186.     public function isTraitable()
  187.     {
  188.         return false;
  189.     }
  190.     public function getDebugInfo()
  191.     {
  192.         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,);
  193.     }
  194.     public function getSourceContext()
  195.     {
  196.         return new Source("{% extends \"Layouts/threeColumn.html.twig\" %}
  197. {% from \"Components/_macros.html.twig\" import helpButton %}
  198. {% from \"Components/_macros.html.twig\" import sectionHelp %}
  199. {% from \"Components/_macros.html.twig\" import formHelp %}
  200. {% macro startButton(startUrl) %}
  201.     <a href=\"{{ startUrl }}\"
  202.        class=\"table mx-auto mt-6 mb-10 !no-underline Button Button_primary Button_primary_go Button_standalone\">Start
  203.         with step 1</a>
  204. {% endmacro %}
  205. {% set isPartOfStudyDocumentation = true %}
  206. {% block title %}
  207.     {{ \"title.introduction.title\"|trans }}
  208. {% endblock %}
  209. {% block content %}
  210.     <h2 class=\"MetaDataGroup-Title\">
  211.         {{ \"title.introduction.title\"|trans }}
  212.     </h2>
  213.     <div class=\"MetaData-Widget markdown\">
  214.         {{ \"title.introduction.start.intro\"
  215.         | trans({
  216.             '#helpBtn#':helpButton('help_intro'),
  217.             '#startBtn#':_self.startButton(path('Study-documentation', {uuid: experiment.id}))})
  218.         | markdown_to_html }}
  219.         {{ \"title.introduction.start.steps\" | trans | markdown_to_html }}
  220.     </div>
  221.     {{ render(controller('App\\\\View\\\\Controller\\\\NavigationController::savebarNavigationAction', {
  222.         request: app.request,
  223.         prevUrl: null,
  224.         prevTitle: null,
  225.         nextUrl: 'Study-documentation',
  226.         nextTitle: 'Step 1: ' ~ 'title.describe-study.title'|trans,
  227.         form: null
  228.     })) }}
  229. {% endblock %}
  230. {% block help_for_section %}
  231.     {{ sectionHelp(\"study_introduction\") }}
  232. {% endblock %}
  233. {% block help_for_metadata %}
  234.     {{ formHelp(\"study_introduction\", \"help_intro\", \"title.introduction.h3_2\") }}
  235. {% endblock %}
  236. ""Pages/Study/introduction.html.twig""/app/source/View/Templates/Pages/Study/introduction.html.twig");
  237.     }
  238. }