Skip to content
Snippets Groups Projects
Commit cd96a97a authored by Brian Canini's avatar Brian Canini
Browse files

courses content type template adjustment

- additional adjustments for taxonomy term 3 to be used
parent 130d946d
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment