From 2cf3c806ba258bec096b913ad2bd283e5ad4a6c7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 20 Dec 2020 18:23:54 +0000 Subject: [PATCH] themed profile background --- webapp_profile.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index 0392d128..95b8329f 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -293,7 +293,8 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str, displayName: str, avatarDescription: str, profileDescriptionShort: str, - loginButton: str, avatarUrl: str) -> str: + loginButton: str, avatarUrl: str, + theme: str) -> str: """The header of the profile screen, containing background image and avatar """ @@ -302,7 +303,7 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str, nickname + '/' + defaultTimeline + '" title="' + \ translate['Switch to timeline view'] + '">\n' htmlStr += ' \n' + 'src="/users/' + nickname + '/image_' + theme + '.png" />\n' htmlStr += '
\n' htmlStr += \ ' \n'