More Luminate changes... HackerRank's subnavigation is completed. Updated Cin7 templates.

This commit is contained in:
Norm Rasmussen
2024-06-11 16:19:55 -04:00
parent 1ca3e78eda
commit fac495a7e0
22 changed files with 427 additions and 336 deletions

View File

@ -2,22 +2,25 @@
{% assign core = false %}
{% assign partners = false %}
{% assign log_out = true %}
{% assign both_gorups = false %}
{% if current_person.signed_in? %}
{% assign log_out = false %}
{% for group in current_person.groups %}
{% if group.name contains 'Partners' %}
{% assign partners = true %}
{% else %}
{% if group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% if group.name contains 'Partners' %}
{% assign partners = true %}
{% elsif group.name contains 'Core' %}
{% assign core = true %}
{% elsif group.name contains 'Omni' %}
{% assign omni = true %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{% endif %}
{% if omni and core %}
{% assign both_gorups = true %}
{% endif %}
{% if log_out %}
<script>
window.location.replace('https://academy.cin7.com/learners/sign_in');