Commit 18283b77 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'feature/ISTWCMS-5090-ebremner-contact-title-update' into '3.0.x'

ISTWCMS-5090: updating card to use separate position element

See merge request !95
parents 30204270 04795ba8
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -124,6 +124,12 @@ $card-padding: rem(gesso-spacing(sm)) !default;
}
}
}
.card__position {
color: $uw-black;
font-size: 1.26562rem;
}
// footer
.card__footer {
@include uw-no-breakout();
......
......@@ -38,5 +38,6 @@
'address': node.address,
'map_link': node.map_link,
'catalog_tags': node.catalog_tags,
'position': node.position,
} %}
</div>
......@@ -15,7 +15,7 @@
{% endif %}
<div class="card__body">
{% if title or author or date or sub_title %}
{% if title or author or date or sub_title or position %}
<div class="card__header">
{% if date %}
<div class="card__date">
......@@ -36,10 +36,15 @@
</a>
{% endif %}
</h{{ header_level }}>
{% if sub_title %}
<span class="sub-title">{{ sub_title }}</span>
{% endif %}
{% endif %}
{% if sub_title %}
<span class="sub-title">{{ sub_title }}</span>
{% if position %}
<div class="card__position">
{{ position }}
</div>
{% endif %}
{% if author %}
......
......@@ -11,9 +11,9 @@
</a>
</h2>
{% endif %}
{% if contact.sub_title %}
{% if contact.position %}
<span class="uw-contact__position">
{{ contact.sub_title }}
{{ contact.position }}
</span>
{% endif %}
{% endblock %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment