From 8d2c24f7f9b9bce3a806e4748623bd3b2742025b Mon Sep 17 00:00:00 2001 From: Lanre Adelowo Date: Wed, 9 Jan 2019 18:22:57 +0100 Subject: Allow for user specific themes (#5668) * add migration and basic UI for changing a user's theme * update user themem * use right text on button * load theme based on users' selection * load theme based on users' selection in pwa too * update sample config * delete older theme loading * implement AfterLoad to set users' theme properly * set up default theme when creating a user. This uses the installation wide theme * use flash messages for error * set default theme when creating a user from the cli * fix @lunny review --- templates/user/settings/account.tmpl | 38 ++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'templates/user/settings') diff --git a/templates/user/settings/account.tmpl b/templates/user/settings/account.tmpl index 56c3df7f84..778103e44d 100644 --- a/templates/user/settings/account.tmpl +++ b/templates/user/settings/account.tmpl @@ -85,6 +85,44 @@ +

+ {{.i18n.Tr "settings.manage_themes"}} +

+
+ +

{{.i18n.Tr "settings.delete_account"}}

-- cgit v1.2.3