Some template changes. Nothing in particular.
This commit is contained in:
@ -1,11 +1,45 @@
|
|||||||
{% if current_person.groups.any? %}
|
{% if current_person.groups.any? %}
|
||||||
{% for group in current_person.groups %}
|
{% for group in current_person.groups %}
|
||||||
{% if group.id == '' %}
|
{% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' %}
|
||||||
{% comment %}
|
{% comment %}
|
||||||
< ----------------------------->
|
< ----------------------------->
|
||||||
The carousel HTML goes here.
|
The carousel HTML goes here.
|
||||||
< ----------------------------->
|
< ----------------------------->
|
||||||
{% endcomment %}
|
{% endcomment %}
|
||||||
|
<div class="feature-card-wrapper">
|
||||||
|
<div class="feature-card-container">
|
||||||
|
<div class="feature-card-content feature-content">
|
||||||
|
<div class="short-message">Hello!</div>
|
||||||
|
<h3 class="feature-card-content-title chubb">
|
||||||
|
Lorem Ipsum
|
||||||
|
</h3>
|
||||||
|
<div class="feature-card-description lato">
|
||||||
|
This is fake text
|
||||||
|
<div class="note-desc">
|
||||||
|
<br><span class="bold-text">Explore <a href="https://chubb.northpass.com/app/catalog">the entire catalog</a> </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card-btn-container">
|
||||||
|
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/c2fa75f4-2102-4655-8e4f-6673377fd165">
|
||||||
|
None
|
||||||
|
</a>
|
||||||
|
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/f4432764-6a4c-4ae7-b9a8-9cec25f20f66">
|
||||||
|
None
|
||||||
|
</a>
|
||||||
|
<a class="feature-course-btn turquoise lato" href="/app/learning_paths/e5d64a8c-cb99-43b7-89d4-746e0a2cdc12">
|
||||||
|
None
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="feature-card-image feature-content">
|
||||||
|
<img
|
||||||
|
class="feature-card-image"
|
||||||
|
alt="cornerstone"
|
||||||
|
src="https://chubbeducation.com/wp-content/uploads/Cornerstone-OLC-Carousel-Image.png"
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -48,7 +82,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% unless group.id = '' %}
|
|
||||||
<div class="feature-card-wrapper">
|
<div class="feature-card-wrapper">
|
||||||
<div class="feature-card-container">
|
<div class="feature-card-container">
|
||||||
<div class="feature-card-content feature-content">
|
<div class="feature-card-content feature-content">
|
||||||
@ -132,7 +165,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endunless %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
{% for group in current_person.groups %}
|
{% for group in current_person.groups %}
|
||||||
{% for course in courses.in_catalog %}
|
{% for course in courses.in_catalog %}
|
||||||
{% for category in course.categories %}
|
{% for category in course.categories %}
|
||||||
{% if group.id = '' and category.name = 'Recommended - ' %}
|
{% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %}
|
||||||
{% assign content_counter = content_counter | plus: 1 %}
|
{% assign content_counter = content_counter | plus: 1 %}
|
||||||
{% elsif category.name == 'Recommended' %}
|
{% elsif category.name == 'Recommended' %}
|
||||||
{% assign content_counter = content_counter | plus: 1 %}
|
{% assign content_counter = content_counter | plus: 1 %}
|
||||||
@ -17,7 +17,7 @@
|
|||||||
{% for group in current_person.groups %}
|
{% for group in current_person.groups %}
|
||||||
{% for learning_path in learning_paths.available %}
|
{% for learning_path in learning_paths.available %}
|
||||||
{% for category in learning_path.categories %}
|
{% for category in learning_path.categories %}
|
||||||
{% if group.id = '' and category.name = 'Recommended - ' %}
|
{% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %}
|
||||||
{% assign content_counter = content_counter | plus: 1 %}
|
{% assign content_counter = content_counter | plus: 1 %}
|
||||||
{% elsif category.name == 'Recommended' %}
|
{% elsif category.name == 'Recommended' %}
|
||||||
{% assign content_counter = content_counter | plus: 1 %}
|
{% assign content_counter = content_counter | plus: 1 %}
|
||||||
@ -35,7 +35,7 @@
|
|||||||
{% for group in current_person.groups %}
|
{% for group in current_person.groups %}
|
||||||
{% for course in courses.in_catalog%}
|
{% for course in courses.in_catalog%}
|
||||||
{% for category in course.categories %}
|
{% for category in course.categories %}
|
||||||
{% if group.id = '' and category.name = 'Recommended - ' %}
|
{% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent ' %}
|
||||||
<div class="carousel-card-container">
|
<div class="carousel-card-container">
|
||||||
{% include "cards_course" with course %}
|
{% include "cards_course" with course %}
|
||||||
</div>
|
</div>
|
||||||
@ -52,7 +52,7 @@
|
|||||||
{% for group in current_person.groups %}
|
{% for group in current_person.groups %}
|
||||||
{% for learning_path in learning_paths.available %}
|
{% for learning_path in learning_paths.available %}
|
||||||
{% for category in learning_path.categories %}
|
{% for category in learning_path.categories %}
|
||||||
{% if group.id = '' and category.name = 'Recommended - ' %}
|
{% if group.id == '2d93e49d-48e0-4419-baf8-88f31ad78349' and category.name == 'Recommended - Access Agent' %}
|
||||||
<div class="carousel-card-container">
|
<div class="carousel-card-container">
|
||||||
{% include "cards_learning_path" %}
|
{% include "cards_learning_path" %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user