Changed some scripts for Walmart screenshots and Cloning courses. Updated a bunch of Notes from Pipedrive, Copado, etc. Updated Cin7's templates.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
{% for learning_path in learning_paths.available %}
|
||||
{% for category in learning_path.categories %}
|
||||
{% if core_categories contains category.name %}
|
||||
{% unless unique_category contains category.name %}
|
||||
{% unless unique_category contains category.name %}
|
||||
{% include 'category_cards_core' counter: category_counter %}
|
||||
{% assign unique_category = unique_category | append: category.name %}
|
||||
{% assign category_counter = category_counter | plus: 1 %}
|
||||
@ -15,7 +15,7 @@
|
||||
{% assign category_counter = 0 %}
|
||||
{% endif %}
|
||||
{% endunless %}
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
@ -61,4 +61,4 @@
|
||||
.category-carousel-core {
|
||||
margin: 0 1rem;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@ -2,6 +2,11 @@
|
||||
<div class=" row">
|
||||
{% for course in courses.in_catalog %}
|
||||
{% if current_person.signed_in? %}
|
||||
{% if omni and if core %}
|
||||
{% if course.name contains 'Omni' or course.name contains 'Core' %}
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
|
||||
{% include "cards_course" with course %}
|
||||
</div>
|
||||
{% if omni %}
|
||||
{% if course.name contains 'Omni' %}
|
||||
<div class="col-xs-12 col-md-6 col-lg-4 np-stretch-content">
|
||||
|
||||
@ -1,10 +1,13 @@
|
||||
{% assign omni = false %}
|
||||
{% assign core = false %}
|
||||
{% assign multiprod = false %}
|
||||
{% assign log_out = true %}
|
||||
|
||||
{% if current_person.signed_in? %}
|
||||
{% assign log_out = false %}
|
||||
{% for group in current_person.groups %}
|
||||
{% if group.name contains 'Core' and if group.name contains 'Omni' %}
|
||||
{% assign multiprod = true %}
|
||||
{% if group.name contains 'Core' %}
|
||||
{% assign core = true %}
|
||||
{% elsif group.name contains 'Omni' %}
|
||||
@ -24,6 +27,8 @@
|
||||
{% elsif omni %}
|
||||
<div class="hero-text lora">Welcome to Cin7 Omni Academy</div>
|
||||
{% elsif log_out %}
|
||||
<div class="hero-text lora">Welcome to Cin7 Academy</div>
|
||||
{% elsif multiprod %}
|
||||
<div class="hero-text lora">Welcome to Cin7 Academy</div>
|
||||
{% else %}
|
||||
<div class="hero-text lora">Welcome to Cin7 Academy</div>
|
||||
|
||||
@ -51,3 +51,10 @@
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<style>
|
||||
.np-alert {
|
||||
visibility: visible;
|
||||
display: flex;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user