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,4 +1,4 @@
|
||||
<div class="card">
|
||||
<div class="card" categories="{%for category in course.categories%}{{category.name}},{%endfor%}" duration="{{course.properties.course_duration}}">
|
||||
{% capture course_path %}{% route course, id: course.id %}{% endcapture %}
|
||||
<a class="lp-link" href="{{ course_path }}">
|
||||
<div class="card-image">
|
||||
@ -7,21 +7,32 @@
|
||||
src="{{ course.image_url }}"
|
||||
class="learning-path-card-image"
|
||||
/>
|
||||
{% if course.ribbon %}
|
||||
<div class="np-card-ribbon" {% if course.ribbon == "Omni" %} style="background: #0026b2;"{% endif %}>
|
||||
{{ course.ribbon }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<h3 class="card-content-title">
|
||||
{% assign course_name = course.name | split: "]" %}
|
||||
{{ course_name.last }}
|
||||
<h3 class="card-content-title course-name">
|
||||
{{ course.name }}
|
||||
</h3>
|
||||
<div class="course-desc">
|
||||
{{ course.short_description }}
|
||||
</div>
|
||||
{% if course.properties.course_duration %}
|
||||
<div class="course-time">
|
||||
<i class="far fa-clock"></i>
|
||||
{{course.properties.course_duration}} min
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="course-details">
|
||||
{% if course.properties.course_duration %}
|
||||
<div class="course-time">
|
||||
<i class="far fa-clock"></i>
|
||||
{{course.properties.course_duration}} min
|
||||
</div>
|
||||
{% endif %}
|
||||
{% comment %} {% if course.properties.recommended_for %}
|
||||
<div class="recommended">
|
||||
Recommended For: {{course.properties.recommended_for}}
|
||||
</div>
|
||||
{% endif %} {% endcomment %}
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user