Some template changes. Nothing in particular.

This commit is contained in:
Norm Rasmussen
2025-03-05 17:15:51 -05:00
parent 0242384887
commit aaa07abe26
2 changed files with 39 additions and 7 deletions

View File

@ -4,7 +4,7 @@
{% for group in current_person.groups %}
{% for course in courses.in_catalog %}
{% 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 %}
{% elsif category.name == 'Recommended' %}
{% assign content_counter = content_counter | plus: 1 %}
@ -17,7 +17,7 @@
{% for group in current_person.groups %}
{% for learning_path in learning_paths.available %}
{% 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 %}
{% elsif category.name == 'Recommended' %}
{% assign content_counter = content_counter | plus: 1 %}
@ -35,7 +35,7 @@
{% for group in current_person.groups %}
{% for course in courses.in_catalog%}
{% 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">
{% include "cards_course" with course %}
</div>
@ -52,7 +52,7 @@
{% for group in current_person.groups %}
{% for learning_path in learning_paths.available %}
{% 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">
{% include "cards_learning_path" %}
</div>