<div class="np-learning-paths-resources row">
  {% if learning_paths.available.any? %}
    {% for learning_path in items %}

      {% assign learning_path_progress = "" %}
      {% if learning_path.progress == 100 %}
        {% assign learning_path_progress = "completed" %}
      {% elsif learning_path.progress < 100 and learning_path.progress > 0 %}
        {% assign learning_path_progress = "in-progress" %}
      {% endif %}

      {% assign cat_name = "" %}
      {% for category in learning_path.categories limit: 1 %}
        {% assign cat_name = category.name %}
      {% endfor %}
      
      <div class="col-xs-12 col-md-6 lp-column" data-progress="{{learning_path_progress}}" data-category="{{cat_name}}">
        {% include "cards_learning_path" with learning_path %}
      </div>
    {% endfor %}
  {% else %}
    <div class="np-learning-paths-resources-container">
      <div class="np-zero-state-text">
        {% t .empty %}
      </div>
      <img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
    </div>
  {% endif %}
</div>
