Updated cin7 templates while Hubert was out, and downloaded all of Chubb's templates since something needed to be udpated. Ran a script for SPS Commerce to get all the courses.
This commit is contained in:
@ -1,12 +1,30 @@
|
||||
{% assign omni = false %}
|
||||
{% assign core = false %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.id == '9daeef1e-bd6c-47da-a343-ef772ba88300' %}
|
||||
{% assign core = true %}
|
||||
{% elsif group.id == 'afa31e2d-646e-4b7e-b65e-c426dc30ec5c' %}
|
||||
{% assign omni = true %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
{% include "header" %}
|
||||
<div class="hero-homepage">
|
||||
<div class="np-max-width">
|
||||
<div class="hero-text">Learning Paths</div>
|
||||
<div class="hero-subheading">Explore curated learning paths tailored to your function and role.</div>
|
||||
</div>
|
||||
</div>
|
||||
<main class="np-main np-learning-paths np-subpage-container ">
|
||||
<div class="np-learning-paths-main np-max-width">
|
||||
{% include "learning_paths_index", items: learning_paths.available %}
|
||||
{% if current_person.signed_in? %}
|
||||
{% include "learning_paths_index", items: learning_paths.available %}
|
||||
{% else %}
|
||||
<div class="hero-subheading"> You must be signed in to view Learning Paths. </div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</main>
|
||||
{% include "footer" %}
|
||||
|
||||
Reference in New Issue
Block a user