Todos and Cin7's LP page.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user