Skip to content
Snippets Groups Projects
Commit 849a69e3 authored by Eric Bremner's avatar Eric Bremner Committed by Kevin Paxman
Browse files

ISTWCMS-5880: adding node classes to header on card

parent 1ba3ab20
No related branches found
No related tags found
1 merge request!48ISTWCMS-5880: ensuring that title displays when banner is used
......@@ -21,6 +21,7 @@
'footer': node.footer,
'tags': node.tags,
'ical': node.ical,
'media_flags': media_flags
'media_flags': media_flags,
'node_classes': node_classes
} %}
</div>
<div class="card__header">
<div class="card__header {{ node_classes }}">
{% if bundle == 'uw_ct_profile' %}
{% if image %}
<div class="uw-image__profiles">
......
......@@ -5,7 +5,8 @@
'media': media,
'header': header,
'bundle': bundle,
'media_flags': media_flags
'media_flags': media_flags,
'node_classes': node_classes
} %}
{% endif %}
......@@ -22,7 +23,8 @@
'image': image,
'bundle': bundle,
'header_level': 1,
'media_flags': media_flags
'media_flags': media_flags,
'node_classes': node_classes
} %}
{% endif %}
......
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