forked from indymedia/epicyon
Banner no longer in css
parent
c4d1c36a2c
commit
c9a1ee1634
|
@ -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 += \
|
||||||
|
|
Loading…
Reference in New Issue