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

ISTWCMS-6023: remove the logic in twig and leave typo fix.

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