forked from indymedia/epicyon
Rss icon position on mobile links screen
parent
e5f7d8df51
commit
af76e90bfb
|
@ -5613,7 +5613,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
translate['RSS feed for this site'] + \
|
translate['RSS feed for this site'] + \
|
||||||
'" title="' + translate['RSS feed for this site'] + \
|
'" title="' + translate['RSS feed for this site'] + \
|
||||||
'" src="/' + iconsDir + '/logorss.png" /></a>\n'
|
'" src="/' + iconsDir + '/logorss.png" /></a>\n'
|
||||||
if rssIconAtTop and showHeaderImage:
|
if rssIconAtTop:
|
||||||
htmlStr += rssIconStr
|
htmlStr += rssIconStr
|
||||||
|
|
||||||
if editImageClass == 'leftColEdit':
|
if editImageClass == 'leftColEdit':
|
||||||
|
@ -5622,7 +5622,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
if showHeaderImage:
|
if showHeaderImage:
|
||||||
htmlStr += ' <br>\n'
|
htmlStr += ' <br>\n'
|
||||||
|
|
||||||
if rssIconAtTop and not showHeaderImage:
|
if rssIconAtTop:
|
||||||
htmlStr += '</div><br>'
|
htmlStr += '</div><br>'
|
||||||
|
|
||||||
linksFilename = baseDir + '/accounts/links.txt'
|
linksFilename = baseDir + '/accounts/links.txt'
|
||||||
|
@ -5672,8 +5672,7 @@ def getLeftColumnContent(baseDir: str, nickname: str, domainFull: str,
|
||||||
' <p>' + lineStr + '</p>\n'
|
' <p>' + lineStr + '</p>\n'
|
||||||
linksFileContainsEntries = True
|
linksFileContainsEntries = True
|
||||||
|
|
||||||
rssAtBottom = not rssIconAtTop or not showHeaderImage
|
if linksFileContainsEntries and not rssIconAtTop:
|
||||||
if linksFileContainsEntries and rssAtBottom:
|
|
||||||
htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
|
htmlStr += '<br><div class="columnIcons">' + rssIconStr + '</div>'
|
||||||
return htmlStr
|
return htmlStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue