Skip to content
Snippets Groups Projects
Commit bc98b373 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-6023: Update the logic for when to print contact label

parent d947e9a6
No related branches found
No related tags found
1 merge request!76ISTWCMS-6023: correct the title for profile-additional-links
......@@ -8,9 +8,15 @@
{% block details_content %}
{% if bundle == "contact" %}
{% set labelPrint = 'Link to profile' %}
{% else %}
{% set labelPrint = 'Link to additional information' %}
{% endif %}
{% if links.profile %}
{% include '@components/card/card-elements/_link.twig' with {
'label': 'Link to additional information',
'label': labelPrint,
'link_type': 'profile',
'links': links.profile
} %}
......@@ -50,7 +56,7 @@
{% if links.contact %}
{% include '@components/card/card-elements/_link.twig' with {
'label': 'Contact for additional informationn',
'label': 'Contact for additional information',
'link_type': 'contact-for',
'links': links.contact
} %}
......
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