diff --git a/web/themes/asc_bootstrap/templates/node/node--course.html.twig b/web/themes/asc_bootstrap/templates/node/node--course.html.twig index 6171bedeaa439c3f3ceee3d932c3166ff424a7b8..0d72acd75a8ae39c67228cbefce02be6fe333077 100644 --- a/web/themes/asc_bootstrap/templates/node/node--course.html.twig +++ b/web/themes/asc_bootstrap/templates/node/node--course.html.twig @@ -109,7 +109,7 @@ </div> #} <div{{ content_attributes.addClass('content') }}> <div class="col-sm-12 course-cont"> - {{ content|without('field_offered_autumn')|without('field_course_number')|without('field_offered_spring')|without('field_subject_abbreviation')|without('field_offered_summer')|without('field_course_term_1')|without('field_course_term_2') }} + {{ content|without('field_offered_autumn')|without('field_course_number')|without('field_offered_spring')|without('field_subject_abbreviation')|without('field_offered_summer')|without('field_course_term_1')|without('field_course_term_2')|without('field_course_term_3') }} {% if (node.field_offered_autumn.value) or (node.field_offered_spring.value) or (node.field_offered_summer.value) %} <div class="taxonomy-course-heading"> @@ -135,7 +135,9 @@ </div> {% endif %} - {% if (content.field_course_term_1.0 != '') or (content.field_course_term_2.0 != '') %} + {% if (content.field_course_term_1.0 != '') + or (content.field_course_term_2.0 != '') + or (content.field_course_term_3.0 != '') %} <div class="taxonomy-course-heading"> <h2>Course Filters:</h2> </div> @@ -170,6 +172,7 @@ </div> {% endif %} {% endfor %} + </div> </div>