opigno-learning-path-progress.html.twig in Opigno Learning path 3.x
Same filename and directory in other branches
Default theme implementation to display the Learning path progress.
1 theme call to opigno-learning-path-progress.html.twig
- Progress::getProgressBuild in src/
Progress.php - Get get progress bar it self.
File
templates/opigno-learning-path-progress.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display the Learning path progress.
- */
- #}
-
- {% if not show_bar %}
- <span class="score">
- {{ value ~ '%' }}
- </span>
- {% else %}
- <div class="learning-path-progress d-flex flex-column progress-bar-mini">
- <div class="progress-bar">
- <div class="progress-progress" style="width: {{ value }}%"></div>
- </div>
- <div class="progress-content">
- <div class="progress-value">{{ value ~ '%'}}</div>
- </div>
- </div>
- {% endif %}