New post banner

merge-requests/8/head
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'] + '">\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;')