Users path

merge-requests/8/head
Bob Mottram 2020-10-25 22:03:39 +00:00
parent cfc46f779a
commit d582b7e91d
1 changed files with 3 additions and 2 deletions

View File

@ -3463,7 +3463,7 @@ def htmlProfile(defaultTimeline: str,
# If this is the news account then show a different banner
if isSystemAccount(nickname):
profileHeaderStr = \
'<img class="timeline-banner" src="/banner.png" />\n'
'<img class="timeline-banner" src="banner.png" />\n'
profileHeaderStr += '<center>' + loginButton + '</center>\n'
profileHeaderStr += '<table class="timeline">\n'
@ -6507,7 +6507,8 @@ def htmlTimeline(defaultTimeline: str,
'<a href="/users/' + nickname + '" title="' + \
translate['Switch to profile view'] + '" alt="' + \
translate['Switch to profile view'] + '">\n'
tlStr += '<img class="timeline-banner" src="/banner.png" />\n'
tlStr += '<img class="timeline-banner" src="' + \
usersPath + '/banner.png" />\n'
if fullWidthTimelineButtonHeader:
tlStr += \