Rss icon position on mobile links screen

merge-requests/8/head
Bob Mottram 2020-11-01 10:52:58 +00:00
parent e5f7d8df51
commit af76e90bfb
1 changed files with 3 additions and 4 deletions

View File

@ -5613,7 +5613,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
translate['RSS feed for this site'] + \
'" title="' + translate['RSS feed for this site'] + \
'" src="/' + iconsDir + '/logorss.png" /></a>\n'
if rssIconAtTop and showHeaderImage:
if rssIconAtTop:
htmlStr += rssIconStr
if editImageClass == 'leftColEdit':
@ -5622,7 +5622,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
if showHeaderImage:
htmlStr += ' <br>\n'
if rssIconAtTop and not showHeaderImage:
if rssIconAtTop:
htmlStr += '</div><br>'
linksFilename = baseDir + '/accounts/links.txt'
@ -5672,8 +5672,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
' <p>' + lineStr + '</p>\n'
linksFileContainsEntries = True
rssAtBottom = not rssIconAtTop or not showHeaderImage
if linksFileContainsEntries and rssAtBottom:
if linksFileContainsEntries and not rssIconAtTop:
htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
return htmlStr