templates/Front/Scholar/PracticalCase/show.html.twig line 1

Open in your IDE?
  1. {% extends 'Layout/layout_side_nav.html.twig' %}
  2. {% block title %}
  3.     {{ 'front.scholar.lesson.show.cas_pratique.show.title.label' | trans }}
  4. {% endblock %}
  5. {% block attribute_body %}class="practical-case-front"{% endblock %}
  6. {% block breadcrumbs %}
  7.     {% include '@NellappSDK/Partials/component/breadcrumb/breadcrumb.html.twig' with {
  8.         'breadcrumb' : {
  9.             'items': [
  10.                 {
  11.                     'title': 'Toutes mes formations',
  12.                     'path': path('front_user_scholar_training_card')
  13.                 },
  14.                 {
  15.                     'title': training.name,
  16.                     'path': path('front_channel_training_show', {'id': training.id}),
  17.                 },
  18.                 {
  19.                     'title': module.name,
  20.                     'path': path('front_channel_training_show', {'id': training.id})
  21.                 },
  22.                 {
  23.                     'title': lesson.name,
  24.                     'path': path('front_channel_lesson_show', {'lessonId': lesson.id, 'moduleId': module.id, 'trainingId': training.id}),
  25.                 },
  26.                 {'title': 'front.scholar.lesson.show.cas_pratique.show.title.label' | trans }
  27.             ]
  28.         }
  29.     } %}
  30. {% endblock %}
  31. {% block page_title %}
  32.     {{ practicalCase.title }}
  33. {% endblock %}
  34. {% block partial_form %}
  35.     <p class="sub-title">{{ 'front.scholar.lesson.show.cas_pratique.label' | trans }}</p>
  36.     {% include 'Front/Scholar/PracticalCase/show_with_tabs.html.twig' %}
  37. {% endblock %}
  38. {% block side_nav_right %}
  39.     {% if app.user %}
  40.         <twig:ChannelUserData:CursusLockout
  41.             :cursus="cursus ?? null"
  42.         ></twig:ChannelUserData:CursusLockout>
  43.     {% endif %}
  44.     {% if role is defined %}
  45.         {% if role is same as 'learner' %}
  46.             {% include 'Front/Scholar/PracticalCase/learner_messaging.html.twig' %}
  47.         {% elseif role is same as 'corrector' %}
  48.             {% include 'Front/Scholar/PracticalCase/corrector_messaging.html.twig' %}
  49.         {% endif %}
  50.     {% endif %}
  51. {% endblock %}