From 947cce78d76ca228e9fc39ee025e56cd56801b88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sat, 3 Aug 2024 23:36:08 +0200 Subject: [PATCH] Added title and icon to settings page --- templates/settings/settings.html.twig | 5 ++++- translations/messages.en.xlf | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/settings/settings.html.twig b/templates/settings/settings.html.twig index ae631ffb..4398ee78 100644 --- a/templates/settings/settings.html.twig +++ b/templates/settings/settings.html.twig @@ -1,7 +1,10 @@ {% extends "main_card.html.twig" %} - {% macro genId(widget) %}{{ widget.vars.full_name }}{% endmacro %} +{% block title %}{% trans %}settings.title{% endtrans %}{% endblock %} + +{% block card_title %} {% trans %}settings.title{% endtrans %}{% endblock %} + {% block card_content %} {{ form_start(form) }} diff --git a/translations/messages.en.xlf b/translations/messages.en.xlf index 4e16b96d..e8abc2b8 100644 --- a/translations/messages.en.xlf +++ b/translations/messages.en.xlf @@ -12588,5 +12588,11 @@ Please note, that you can not impersonate a disabled user. If you try you will g Privacy + + + settings.title + Server settings + +