{% assign counter = 0 %}
<div class="np-dashboard-resources">
  {% if training_events.available.any? %}
    <div class="row events-container">
      {% for training_event in training_events.available %}
        <div class="event-card np-stretch-content">
          {% include "cards_training_event" with training_event %}
        </div>
        {% assign counter = counter | plus: 1 %}
      {% endfor %}
    </div>
  {% endif %}
  {% if counter == 0 %}
    <div class="zero-state-wrapper">
        <img class="zero-img" src="https://s3.amazonaws.com/static.northpass.com/Cin7/zero+state/no+live+events.png" alt="">
    </div>
{% endif %}
</div>
