From 4a3f732038c72c2961d5c7fe194e7759108f7eb0 Mon Sep 17 00:00:00 2001 From: Mika Vaara Date: Wed, 22 Dec 2021 18:31:36 +0200 Subject: [PATCH 1/2] The vocabulary list on the frontpage shows the vocabulary names in the default language of the vocabulary --- view/vocabularylist.twig | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/view/vocabularylist.twig b/view/vocabularylist.twig index aab1edb83..ae30cac79 100644 --- a/view/vocabularylist.twig +++ b/view/vocabularylist.twig @@ -15,7 +15,14 @@

{{ vocabClassName }}

From 7d99329d9e58d4748084ccb8617aca27df813837 Mon Sep 17 00:00:00 2001 From: Mika Vaara Date: Thu, 23 Dec 2021 14:56:59 +0200 Subject: [PATCH 2/2] A more elegant way to check if the default language should be used in the vocabulary listing --- view/vocabularylist.twig | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/view/vocabularylist.twig b/view/vocabularylist.twig index ae30cac79..ee1033385 100644 --- a/view/vocabularylist.twig +++ b/view/vocabularylist.twig @@ -15,13 +15,12 @@

{{ vocabClassName }}

@@ -31,3 +30,8 @@ {% endif %} + + + + +