source/View/Templates/Pages/Study/introduction.html.twig line 24

Open in your IDE?
  1. {% extends "Layouts/threeColumn.html.twig" %}
  2. {% from "Components/_macros.html.twig" import helpButton %}
  3. {% from "Components/_macros.html.twig" import sectionHelp %}
  4. {% from "Components/_macros.html.twig" import formHelp %}
  5. {% macro startButton(startUrl) %}
  6.     <a href="{{ startUrl }}"
  7.        class="table mx-auto mt-6 mb-10 !no-underline Button Button_primary Button_primary_go Button_standalone">Start
  8.         with step 1</a>
  9. {% endmacro %}
  10. {% set isPartOfStudyDocumentation = true %}
  11. {% block title %}
  12.     {{ "title.introduction.title"|trans }}
  13. {% endblock %}
  14. {% block content %}
  15.     <h2 class="MetaDataGroup-Title">
  16.         {{ "title.introduction.title"|trans }}
  17.     </h2>
  18.     <div class="MetaData-Widget markdown">
  19.         {{ "title.introduction.start.intro"
  20.         | trans({
  21.             '#helpBtn#':helpButton('help_intro'),
  22.             '#startBtn#':_self.startButton(path('Study-documentation', {uuid: experiment.id}))})
  23.         | markdown_to_html }}
  24.         {{ "title.introduction.start.steps" | trans | markdown_to_html }}
  25.     </div>
  26.     {{ render(controller('App\\View\\Controller\\NavigationController::savebarNavigationAction', {
  27.         request: app.request,
  28.         prevUrl: null,
  29.         prevTitle: null,
  30.         nextUrl: 'Study-documentation',
  31.         nextTitle: 'Step 1: ' ~ 'title.describe-study.title'|trans,
  32.         form: null
  33.     })) }}
  34. {% endblock %}
  35. {% block help_for_section %}
  36.     {{ sectionHelp("study_introduction") }}
  37. {% endblock %}
  38. {% block help_for_metadata %}
  39.     {{ formHelp("study_introduction", "help_intro", "title.introduction.h3_2") }}
  40. {% endblock %}