New post banner

main
Bob Mottram 2020-11-02 13:53:25 +00:00
parent a5bfe1b826
commit fe89daba76
1 changed files with 6 additions and 6 deletions

View File

@ -2746,7 +2746,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
translate['Switch to timeline view'] + '" alt="' + \ translate['Switch to timeline view'] + '" alt="' + \
translate['Switch to timeline view'] + '">\n' translate['Switch to timeline view'] + '">\n'
newPostForm += '<img loading="lazy" class="timeline-banner" src="' + \ 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 # only show the share option if this is not a reply
shareOptionOnDropdown = '' shareOptionOnDropdown = ''
@ -7957,7 +7957,7 @@ def htmlPersonOptions(cssCache: {}, translate: {}, baseDir: str,
if not os.path.isfile(baseDir + '/accounts/' + if not os.path.isfile(baseDir + '/accounts/' +
'options-background.jpg'): 'options-background.jpg'):
profileStyle = \ profileStyle = \
profileStyle.replace('background-image: ' + \ profileStyle.replace('background-image: ' +
'url("options-background.jpg");', 'url("options-background.jpg");',
'background-image: none;') 'background-image: none;')
@ -8646,7 +8646,7 @@ def htmlSearch(cssCache: {}, translate: {},
if not os.path.isfile(baseDir + '/accounts/' + if not os.path.isfile(baseDir + '/accounts/' +
'follow-background.jpg'): 'follow-background.jpg'):
profileStyle = \ profileStyle = \
profileStyle.replace('background-image: ' + \ profileStyle.replace('background-image: ' +
'url("follow-background.jpg");', 'url("follow-background.jpg");',
'background-image: none;') 'background-image: none;')