diff --git a/NP_Custom_Templates/customer_templates/JnJVision/_cards_course.html.liquid b/NP_Custom_Templates/customer_templates/JnJVision/_cards_course.html.liquid index e8d7d5b8..9d6ecb28 100644 --- a/NP_Custom_Templates/customer_templates/JnJVision/_cards_course.html.liquid +++ b/NP_Custom_Templates/customer_templates/JnJVision/_cards_course.html.liquid @@ -8,7 +8,6 @@ src="{{ course.image_url }}" > -

{{ course.name }} @@ -38,6 +37,8 @@

{% endcomment %} +{% comment %} - This was Kaitlyn's original code, I'm commenting it out to keep it incase +the client wants to revert back. My categories boxes are below.
@@ -47,22 +48,41 @@ src="{{ course.image_url }}" >
- +

{{ course.name }}

+
{% endcomment %} + + +
+
+ +
+ +
+

+ {% for category in course.categories %} + {{course.categories.first.name }} + {% endfor %} +

+
+ diff --git a/NP_Custom_Templates/customer_templates/JnJVision/_course_details_review.html.liquid b/NP_Custom_Templates/customer_templates/JnJVision/_course_details_review.html.liquid index f1baab4a..fba9d334 100644 --- a/NP_Custom_Templates/customer_templates/JnJVision/_course_details_review.html.liquid +++ b/NP_Custom_Templates/customer_templates/JnJVision/_course_details_review.html.liquid @@ -25,6 +25,24 @@ {% endif %} {% endif %} + {% comment %}
+
+ {% for i in (1..5) %} + {% if course.properties.np_course_rating >= i %} + + + + {% else %} + + + + {% endif %} + {% endfor %} +
+ + {{course.properties.np_course_rating}}
({{course.properties.np_course_rating_count}})
+
+
{% endcomment %}