Banner no longer in css

main
Bob Mottram 2020-11-02 09:42:59 +00:00
parent c4d1c36a2c
commit c9a1ee1634
1 changed files with 1 additions and 5 deletions

View File

@ -6517,10 +6517,6 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
print('ERROR: css file not found ' + cssFilename) print('ERROR: css file not found ' + cssFilename)
return None return None
# load css
profileStyle = \
profileStyle.replace('banner.png',
'/users/' + nickname + '/' + bannerFile)
# replace any https within the css with whatever prefix is needed # replace any https within the css with whatever prefix is needed
if httpPrefix != 'https': if httpPrefix != 'https':
profileStyle = \ profileStyle = \
@ -6754,7 +6750,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
translate['Switch to profile view'] + '" alt="' + \ translate['Switch to profile view'] + '" alt="' + \
translate['Switch to profile view'] + '">\n' translate['Switch to profile view'] + '">\n'
tlStr += '<img loading="lazy" class="timeline-banner" src="' + \ tlStr += '<img loading="lazy" class="timeline-banner" src="' + \
usersPath + '/banner.png" /></a>\n' usersPath + '/' + bannerFile + '" /></a>\n'
if fullWidthTimelineButtonHeader: if fullWidthTimelineButtonHeader:
tlStr += \ tlStr += \