You are here

upgrade-status-summary-counter.html.twig in Upgrade Status 8

{% if summary|length > 0 %}
<div class="upgrade-status-counters">
  {% for item in summary %}
    <div class="upgrade-status-counters__item">
      <div class="upgrade-status-counter">
        <div class="upgrade-status-counter__status-icon upgrade-status-counter__status-icon--{{ item.class }}"></div>
        <div class="upgrade-status-counter__status-title">
          <span class="upgrade-status-counter__title-count">{{ item.type }}</span>
          <span class="upgrade-status-counter__details">{{ item.message }}</span>
        </div>
      </div>
    </div>
  {% endfor %}
</div>
{% endif %}

File

templates/upgrade-status-summary-counter.html.twig
View source
  1. {% if summary|length > 0 %}
  2. <div class="upgrade-status-counters">
  3. {% for item in summary %}
  4. <div class="upgrade-status-counters__item">
  5. <div class="upgrade-status-counter">
  6. <div class="upgrade-status-counter__status-icon upgrade-status-counter__status-icon--{{ item.class }}"></div>
  7. <div class="upgrade-status-counter__status-title">
  8. <span class="upgrade-status-counter__title-count">{{ item.type }}</span>
  9. <span class="upgrade-status-counter__details">{{ item.message }}</span>
  10. </div>
  11. </div>
  12. </div>
  13. {% endfor %}
  14. </div>
  15. {% endif %}