Cin7 Partners instance downloaded. Crossed off a bunch of todos. Finished Anthology's groups to courses extract script.

This commit is contained in:
Norm Rasmussen
2024-04-22 16:51:47 -04:00
parent 88000a824d
commit 670c849c64
127 changed files with 5173 additions and 53 deletions

View File

@ -1,16 +1,24 @@
{% if learning_path.enrolled? %}
<div class="np-top-cta-progress-content">
<div class="lp-progress-text
{% if learning_path.completed? %} np-color-success {% else %} np-button-color {% endif %}
">
{% t shared.progress, count: learning_path.progress %}
</div>
</div>
{% 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="lp-progress-text
{% if learning_path.completed? %}
np-color-success
{% else %}
np-button-color
{% endif %}
">
{% t shared.progress, count: learning_path.progress %}
</div>
</div>
{% endif %}
{% if current_person.signed_in? == false %}
<a class="lp-button" href="/learners/sign_in">
Sign In
</a>
{% else %}
{% learning_path_next_step_button learning_path, class: "lp-button" %}
{% learning_path_next_step_button learning_path, class: "lp-button" %}
{% endif %}