From 4ece760ab6942ead0f2df1de5b3a9ab91f12d6ee Mon Sep 17 00:00:00 2001 From: axolotle Date: Fri, 19 Jan 2024 13:36:45 +0100 Subject: [PATCH] header: display custom title instead of user info when public --- layouts/default.vue | 37 +++++++++++++++++++++---------------- 1 file changed, 21 insertions(+), 16 deletions(-) diff --git a/layouts/default.vue b/layouts/default.vue index f814855..59719d0 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -69,26 +69,31 @@ async function logout() {
-
-
- - {{ user?.username || t('visitor') }} +
+
+ + + {{ user.username }} + + - + {{ user.fullname }} + {{ user.mail }} + + {{ t('footerlink_edit') }} +
-
{{ user.fullname }}
-
{{ user.mail }}
- - {{ t('footerlink_edit') }} -
+

+ {{ settings.portal_title }} +

-
+