From a54d012f62e2cb7321499a09bc9edbd144355899 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Kalij=C3=A4rvi?= Date: Thu, 19 Feb 2026 08:34:54 +0200 Subject: [PATCH 1/2] UHF-12652: Removed value from the service channel template. --- .../helfi_tpr/tpr-service-channel.html.twig | 31 +++++-------------- 1 file changed, 7 insertions(+), 24 deletions(-) diff --git a/templates/module/helfi_tpr/tpr-service-channel.html.twig b/templates/module/helfi_tpr/tpr-service-channel.html.twig index 83e3cd960..bc8ec37fc 100644 --- a/templates/module/helfi_tpr/tpr-service-channel.html.twig +++ b/templates/module/helfi_tpr/tpr-service-channel.html.twig @@ -8,8 +8,6 @@ {% if entity.type.value|lower == 'local' or entity.type.value|lower == 'mail' %} {% set show_mail = true %} {% endif %} - -{% set service_channel_eservice_links_new_tab = service_channel_eservice_links_new_tab|default(0) %}
{% if content.name|render %} @@ -65,14 +63,11 @@
{{ content.address }}
{% endif %} - {% if entity.requires_authentication.value == 1 or (content.links and service_channel_eservice_links_new_tab and entity.type.value|lower == 'eservice') %} + {% if entity.requires_authentication.value == 1 or (content.links and entity.type.value|lower == 'eservice') %}
{% if entity.requires_authentication.value == 1 %} {{ 'Requires authentication'|t }}. {% endif %} - {% if content.links and service_channel_eservice_links_new_tab and entity.type.value|lower == 'eservice' %} - {{ 'The link opens in a new tab'|t({}, {'context': 'Explanation for users that the link opens in a new tab instead of the expected current tab'}) }}. - {% endif %}
{% endif %} @@ -80,24 +75,12 @@