diff --git a/src/patterns/04-components/card/card-elements/_links.twig b/src/patterns/04-components/card/card-elements/_links.twig index 72e338e5374c99195ea235da6a609d07fe94cc68..aa65b3c090c842832c5da91aa97f1872cd5c5cf1 100644 --- a/src/patterns/04-components/card/card-elements/_links.twig +++ b/src/patterns/04-components/card/card-elements/_links.twig @@ -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 } %}