You are here

opigno-learning-path-progress.html.twig in Opigno Learning path 8

Same filename and directory in other branches
  1. 3.x templates/opigno-learning-path-progress.html.twig
<div class="learning-path-progress d-flex flex-column {{ 'progress-bar-' ~ class|clean_class }}">
  <div class="progress-content">
    {% if label %}
      <div class="progress-label">
        {{ label }}
      </div>
    {% endif %}

    <div class="progress-value">
      {{ value }}%
    </div>
  </div>

  {% if progress_bar %}
    <div class="progress-bar">
      <div class="progress-progress" style="width: {{ value }}%;"></div>
    </div>
  {% endif %}
</div>

File

templates/opigno-learning-path-progress.html.twig
View source
  1. <div class="learning-path-progress d-flex flex-column {{ 'progress-bar-' ~ class|clean_class }}">
  2. <div class="progress-content">
  3. {% if label %}
  4. <div class="progress-label">
  5. {{ label }}
  6. </div>
  7. {% endif %}
  8. <div class="progress-value">
  9. {{ value }}%
  10. </div>
  11. </div>
  12. {% if progress_bar %}
  13. <div class="progress-bar">
  14. <div class="progress-progress" style="width: {{ value }}%;"></div>
  15. </div>
  16. {% endif %}
  17. </div>