You are here

opigno-learning-path-progress.html.twig in Opigno Learning path 3.x

Same filename and directory in other branches
  1. 8 templates/opigno-learning-path-progress.html.twig

Default theme implementation to display the Learning path progress.

File

templates/opigno-learning-path-progress.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display the Learning path progress.
  5. */
  6. #}
  7. {% if not show_bar %}
  8. <span class="score">
  9. {{ value ~ '%' }}
  10. </span>
  11. {% else %}
  12. <div class="learning-path-progress d-flex flex-column progress-bar-mini">
  13. <div class="progress-bar">
  14. <div class="progress-progress" style="width: {{ value }}%"></div>
  15. </div>
  16. <div class="progress-content">
  17. <div class="progress-value">{{ value ~ '%'}}</div>
  18. </div>
  19. </div>
  20. {% endif %}