Todos and Cin7's LP page.

This commit is contained in:
Norm Rasmussen
2024-05-03 21:59:49 -04:00
parent 0dcdde0d78
commit e9a721cfd6
3 changed files with 13 additions and 17 deletions

View File

@ -1,20 +1,13 @@
{% if learning_path.enrolled? %}
{% for category in learning_path.categories %}
{% if category.name contains "Deep Dive: Core" %}
<div class="np-top-cta-progress-content" style="visibility: hidden;">
{% endif %}
{% endfor %}
<div class="np-top-cta-progress-content" >
<div class="lp-progress-text
{% if learning_path.completed? %}
np-color-success
{% else %}
np-button-color
{% endif %}
{% if learning_path.completed? %} np-color-success {% else %} np-button-color {% endif %}
">
{% t shared.progress, count: learning_path.progress %}
</div>
</div>
</div>
{% endif %}
{% if current_person.signed_in? == false %}
<a class="lp-button" href="/learners/sign_in">
Sign In