You are here

lp-progress.html.twig in Opigno Learning path 3.x

{% if summary %}
<div class="content-box lp-global-progress-wrapper">
  <div class="lp-global-progress">
    <div class="lp-global-progress-title">{{ 'Global progress'|t }}</div>
    <div class="progress-wrapper">
      <div class="views-field views-field-opigno-lp-progress">
        <div class="field-content">
          <div class="learning-path-progress d-flex flex-column progress-bar-mini">
            <div class="progress-bar">
              <div class="progress-progress" style="width: {{ progress }}%;"></div>
            </div>
            <div class="progress-content">
              <div class="progress-value">{{ progress }}%</div>
            </div>
          </div>
        </div>
      </div>
    </div>
    {{ summary }}
  </div>
</div>
{% endif %}

File

templates/lp-progress.html.twig
View source
  1. {% if summary %}
  2. <div class="content-box lp-global-progress-wrapper">
  3. <div class="lp-global-progress">
  4. <div class="lp-global-progress-title">{{ 'Global progress'|t }}</div>
  5. <div class="progress-wrapper">
  6. <div class="views-field views-field-opigno-lp-progress">
  7. <div class="field-content">
  8. <div class="learning-path-progress d-flex flex-column progress-bar-mini">
  9. <div class="progress-bar">
  10. <div class="progress-progress" style="width: {{ progress }}%;"></div>
  11. </div>
  12. <div class="progress-content">
  13. <div class="progress-value">{{ progress }}%</div>
  14. </div>
  15. </div>
  16. </div>
  17. </div>
  18. </div>
  19. {{ summary }}
  20. </div>
  21. </div>
  22. {% endif %}