main
Bob Mottram 2020-10-25 21:59:08 +00:00
parent f3af4044ee
commit cfc46f779a
1 changed files with 3 additions and 2 deletions

View File

@ -3462,7 +3462,8 @@ 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'
profileHeaderStr = \
'<img class="timeline-banner" src="/banner.png" />\n'
profileHeaderStr += '<center>' + loginButton + '</center>\n'
profileHeaderStr += '<table class="timeline">\n'
@ -6506,7 +6507,7 @@ 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="/banner.png" />\n'
if fullWidthTimelineButtonHeader:
tlStr += \