From 42cef39589a3ed809b23ef8f79850c71505fc695 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 9 Oct 2023 17:03:05 +0300 Subject: [PATCH] uppercase theme name --- templates/default/user/info.html.twig | 2 +- templates/default/user/profile.html.twig | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/default/user/info.html.twig b/templates/default/user/info.html.twig index 8dd75ff..d56a6e8 100644 --- a/templates/default/user/info.html.twig +++ b/templates/default/user/info.html.twig @@ -94,7 +94,7 @@ {{ 'Theme'|trans }} - {{ user.theme }} + {{ user.theme | u.title }} {{ 'Sensitive'|trans }} diff --git a/templates/default/user/profile.html.twig b/templates/default/user/profile.html.twig index f3bec99..1905160 100644 --- a/templates/default/user/profile.html.twig +++ b/templates/default/user/profile.html.twig @@ -112,11 +112,11 @@ {% for theme in themes %} {% if theme == user.theme %} {% else %} {% endif %} {% endfor %}