opigno-learning-path-training.html.twig in Opigno Learning path 8
Same filename and directory in other branches
Default theme implementation to display the training elements.
Available variables:
- #label: Training name.
- elements: The training elements.
1 theme call to opigno-learning-path-training.html.twig
- LearningPathAchievementController::build_training in src/
Controller/ LearningPathAchievementController.php - Returns training array.
File
templates/opigno-learning-path-training.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display the training elements.
- *
- * Available variables:
- * - #label: Training name.
- * - elements: The training elements.
- */
- #}
-
- <div class="lp_wrapper">
- <h2 class="lp_title px-3 px-md-5 pt-5 pb-4 mb-0 h4 text-uppercase">
- {{ 'Training: @label'|t({'@label': elements['#label']}) }}
- </h2>
- {{ elements }}
- </div>