forked from indymedia/epicyon
New post banner
parent
a5bfe1b826
commit
fe89daba76
|
@ -2746,7 +2746,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
|
|||
translate['Switch to timeline view'] + '" alt="' + \
|
||||
translate['Switch to timeline view'] + '">\n'
|
||||
newPostForm += '<img loading="lazy" class="timeline-banner" src="' + \
|
||||
usersPath + '/' + bannerFile + '" /></a>\n'
|
||||
'/users/' + nickname + '/' + bannerFile + '" /></a>\n'
|
||||
|
||||
# only show the share option if this is not a reply
|
||||
shareOptionOnDropdown = ''
|
||||
|
@ -7957,7 +7957,7 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str,
|
|||
if not os.path.isfile(baseDir + '/accounts/' +
|
||||
'options-background.jpg'):
|
||||
profileStyle = \
|
||||
profileStyle.replace('background-image: ' + \
|
||||
profileStyle.replace('background-image: ' +
|
||||
'url("options-background.jpg");',
|
||||
'background-image: none;')
|
||||
|
||||
|
@ -8646,7 +8646,7 @@ def htmlSearch(cssCache: {}, translate: {},
|
|||
if not os.path.isfile(baseDir + '/accounts/' +
|
||||
'follow-background.jpg'):
|
||||
profileStyle = \
|
||||
profileStyle.replace('background-image: ' + \
|
||||
profileStyle.replace('background-image: ' +
|
||||
'url("follow-background.jpg");',
|
||||
'background-image: none;')
|
||||
|
||||
|
|
Loading…
Reference in New Issue