From 7664ce6009f612b0d29ad92ac66e81ed86606c08 Mon Sep 17 00:00:00 2001 From: Tina Trillitzsch Date: Fri, 15 Oct 2021 13:04:24 +0200 Subject: [PATCH 1/2] Remove label uppercasing via twig, related to #1222 --- view/concept-shared.twig | 8 ++++---- view/vocab-shared.twig | 2 +- view/vocabularylist.twig | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/view/concept-shared.twig b/view/concept-shared.twig index debd6948a..7670c41ff 100644 --- a/view/concept-shared.twig +++ b/view/concept-shared.twig @@ -42,7 +42,7 @@ {% spaceless %}
-

{% set subPrefLabelTranslation = concept.preferredSubpropertyLabelTranslation(request.lang) %}{% if subPrefLabelTranslation %}{{ subPrefLabelTranslation|upper }}{% else %}{{ 'skos:prefLabel'|trans|upper }}{% endif %}

+

{% set subPrefLabelTranslation = concept.preferredSubpropertyLabelTranslation(request.lang) %}{% if subPrefLabelTranslation %}{{ subPrefLabelTranslation }}{% else %}{{ 'skos:prefLabel'|trans }}{% endif %}

{% if concept.foundBy %} {# hit has been found through an alternative label #} {{ concept.foundBy }} > @@ -90,7 +90,7 @@ {% if property.getSubPropertyOf != 'skos:hiddenLabel' %}
-

{{ property.label|upper }}

+

{{ property.label }}

{% if request.vocab.config.hasMultiLingualProperty(property.type) %} @@ -141,7 +141,7 @@ {% set foreignLabels = concept.foreignLabels %} {% if foreignLabels %}
-

{{ 'foreign prefLabels'|trans|upper }}

+

{{ 'foreign prefLabels'|trans }}

    @@ -207,7 +207,7 @@