{% if learning_path.has_certificate? %}
  {% if learning_path.certificate_completed? %}
    <div class="np-learning-path-outline-bar np-hidden-mobile"></div>
    <a
      class="np-learning-path-certificate-link"
      href="{{ learning_path.certificate_link }}"
    >
      <div class="np-learning-path-certificate">
        {% include "learning_path_certificate_content" %}
      </div>
    </a>
  {% else %}
    <div class="np-learning-path-certificate np-learning-path-certificate--inactive">
      {% include "learning_path_certificate_content" %}
    </div>
  {% endif %}
{% endif %}
