<div class="np-dashboard-resources">
  {% if training_events.enrolled.any? %}
    {% for training_event in training_events.enrolled %}
      {% include "cards_training_event" with training_event %}
    {% endfor %}
  {% else %}
    <div class="np-dashboard-resources-container">
      <div class="np-zero-state-text">
        You don't have any saved events. Click <a href="/app/training_events">here</a> to view all upcoming events.
      </div>
      <img
        class="np-zero-state-training-events"
        alt="{% t .empty %}"
      />
    </div>
  {% endif %}
</div>

<style>
.np-dashboard-resources .np-card-container {
  background: #f3f3f3;
}
</style>