Upgraded a bunch of clients to v3 - Cin7 mostly for this repo, but Headway and Skan as well. Found two bugs.
This commit is contained in:
BIN
Custom_Templates/customer_templates/.DS_Store
vendored
BIN
Custom_Templates/customer_templates/.DS_Store
vendored
Binary file not shown.
@ -2,88 +2,20 @@
|
|||||||
<div class="filters-option-container">
|
<div class="filters-option-container">
|
||||||
<div class="filter-categories">
|
<div class="filter-categories">
|
||||||
<div class="filter-option-heading">Categories</div>
|
<div class="filter-option-heading">Categories</div>
|
||||||
{% if omni %}
|
<div class="filter-option-container" id="categoryFilters">
|
||||||
<div class="filter-option-container" id="categoryFilters">
|
{% assign unique_core_categories = "" %}
|
||||||
{% assign unique_omni_categories = "" %}
|
{% for course in courses.in_catalog %}
|
||||||
{% for course in courses.in_catalog %}
|
{% for category in course.categories %}
|
||||||
{% for category in course.categories %}
|
{% unless unique_core_categories contains category.name %}
|
||||||
{% if category.name contains 'Omni' %}
|
<div class="category-option">
|
||||||
{% unless unique_omni_categories contains category.name %}
|
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
||||||
<div class="category-option">
|
<label>{{category.name}}</label>
|
||||||
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
</div>
|
||||||
<label>{{category.name}}</label>
|
{% assign unique_core_categories = unique_core_categories | append: category.name %}
|
||||||
</div>
|
{% endunless %}
|
||||||
{% assign unique_omni_categories = unique_omni_categories | append: category.name %}
|
{% endfor %}
|
||||||
{% endunless %}
|
{% endfor %}
|
||||||
{% endif %}
|
</div>
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% elsif core %}
|
|
||||||
<div class="filter-option-container" id="categoryFilters">
|
|
||||||
{% assign unique_core_categories = "" %}
|
|
||||||
{% for course in courses.in_catalog %}
|
|
||||||
{% if course.name contains '[Core]' %}
|
|
||||||
{% for category in course.categories %}
|
|
||||||
{% if category.name contains 'Core' %}
|
|
||||||
{% unless unique_core_categories contains category.name %}
|
|
||||||
<div class="category-option">
|
|
||||||
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
|
||||||
<label>{{category.name}}</label>
|
|
||||||
</div>
|
|
||||||
{% assign unique_core_categories = unique_core_categories | append: category.name %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% elsif log_out %}
|
|
||||||
<div class="filter-option-container" id="categoryFilters">
|
|
||||||
{% assign unique_core_categories = "" %}
|
|
||||||
{% for course in courses.in_catalog %}
|
|
||||||
{% for category in course.categories %}
|
|
||||||
{% unless unique_core_categories contains category.name %}
|
|
||||||
<div class="category-option">
|
|
||||||
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
|
||||||
<label>{{category.name}}</label>
|
|
||||||
</div>
|
|
||||||
{% assign unique_core_categories = unique_core_categories | append: category.name %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% elsif partners %}
|
|
||||||
<div class="filter-option-container" id="categoryFilters">
|
|
||||||
{% assign unique_core_categories = "" %}
|
|
||||||
{% for course in courses.in_catalog %}
|
|
||||||
{% for category in course.categories %}
|
|
||||||
{% unless unique_core_categories contains category.name %}
|
|
||||||
<div class="category-option">
|
|
||||||
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
|
||||||
<label>{{category.name}}</label>
|
|
||||||
</div>
|
|
||||||
{% assign unique_core_categories = unique_core_categories | append: category.name %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% else %}
|
|
||||||
<div class="filter-option-container" id="categoryFilters">
|
|
||||||
{% assign unique_core_categories = "" %}
|
|
||||||
{% for course in courses.in_catalog %}
|
|
||||||
{% for category in course.categories %}
|
|
||||||
{% unless unique_core_categories contains category.name %}
|
|
||||||
<div class="category-option">
|
|
||||||
<input class="filter-checkbox" type="checkbox" id="{{category.name}}" />
|
|
||||||
<label>{{category.name}}</label>
|
|
||||||
</div>
|
|
||||||
{% assign unique_core_categories = unique_core_categories | append: category.name %}
|
|
||||||
{% endunless %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</div>
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
</div>
|
||||||
<div class="fiter-duration">
|
<div class="fiter-duration">
|
||||||
<div class="filter-option-heading">Course Duration</div>
|
<div class="filter-option-heading">Course Duration</div>
|
||||||
@ -1,17 +1,17 @@
|
|||||||
<div class="np-learning-paths-resources">
|
<div class="np-learning-paths-resources">
|
||||||
{% if items.any? %}
|
{% if items.any? %}
|
||||||
{% for learning_path in items %}
|
{% for learning_path in items %}
|
||||||
{% if partners or both_gorups %}
|
{% if partners or both_gorups %}
|
||||||
{% include "cards_learning_path" with learning_path %}
|
{% include "cards_learning_path" with learning_path %}
|
||||||
{% elsif core %}
|
{% elsif core %}
|
||||||
{% if learning_path.name contains 'Core' %}
|
{% if learning_path.name contains 'Core' %}
|
||||||
{% include "cards_learning_path" with learning_path %}
|
{% include "cards_learning_path" with learning_path %}
|
||||||
|
{% endif %}
|
||||||
|
{% elsif omni %}
|
||||||
|
{% if learning_path.name contains 'Omni'%}
|
||||||
|
{% include "cards_learning_path" with learning_path %}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elsif omni %}
|
|
||||||
{% if learning_path.name contains 'Omni'%}
|
|
||||||
{% include "cards_learning_path" with learning_path %}
|
|
||||||
{% endif %}
|
|
||||||
{% endif %}
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="np-learning-paths-resources-container">
|
<div class="np-learning-paths-resources-container">
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user