forked from indymedia/epicyon
Remove spaces and newlines
parent
aa5743e575
commit
c3e960140b
|
@ -6712,23 +6712,20 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
eventsButtonStr = ''
|
||||
if not minimal:
|
||||
sharesButtonStr = \
|
||||
' ' + \
|
||||
'<a href="' + usersPath + '/tlshares"><button class="' + \
|
||||
sharesButton + '"><span>' + \
|
||||
htmlHighlightLabel(translate['Shares'], newShare) + \
|
||||
' </span></button></a>\n'
|
||||
'</span></button></a>'
|
||||
|
||||
bookmarksButtonStr = \
|
||||
' ' + \
|
||||
'<a href="' + usersPath + '/tlbookmarks"><button class="' + \
|
||||
bookmarksButton + '"><span>' + translate['Bookmarks'] + \
|
||||
' </span></button></a>\n'
|
||||
'</span></button></a>'
|
||||
|
||||
eventsButtonStr = \
|
||||
' ' + \
|
||||
'<a href="' + usersPath + '/tlevents"><button class="' + \
|
||||
eventsButton + '"><span>' + translate['Events'] + \
|
||||
' </span></button></a>\n'
|
||||
'</span></button></a>'
|
||||
|
||||
tlStr = htmlHeader(cssFilename, profileStyle)
|
||||
|
||||
|
@ -6751,7 +6748,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
newPostButtonStr = \
|
||||
'<a href="' + usersPath + '/newdm">' + \
|
||||
'<button class="button"><span>' + \
|
||||
translate['Post'] + ' </span></button></a>\n'
|
||||
translate['Post'] + ' </span></button></a>'
|
||||
elif boxName == 'tlblogs' or boxName == 'tlnews':
|
||||
if not iconsAsButtons:
|
||||
newPostButtonStr = \
|
||||
|
@ -6765,7 +6762,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
newPostButtonStr = \
|
||||
'<a href="' + usersPath + '/newblog">' + \
|
||||
'<button class="button"><span>' + \
|
||||
translate['Post'] + ' </span></button></a>\n'
|
||||
translate['Post'] + '</span></button></a>'
|
||||
elif boxName == 'tlevents':
|
||||
if not iconsAsButtons:
|
||||
newPostButtonStr = \
|
||||
|
@ -6779,7 +6776,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
newPostButtonStr = \
|
||||
'<a href="' + usersPath + '/newevent">' + \
|
||||
'<button class="button"><span>' + \
|
||||
translate['Post'] + ' </span></button></a>\n'
|
||||
translate['Post'] + '</span></button></a>'
|
||||
else:
|
||||
if not manuallyApproveFollowers:
|
||||
if not iconsAsButtons:
|
||||
|
@ -6794,7 +6791,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
newPostButtonStr = \
|
||||
'<a href="' + usersPath + '/newpost">' + \
|
||||
'<button class="button"><span>' + \
|
||||
translate['Post'] + ' </span></button></a>\n'
|
||||
translate['Post'] + '</span></button></a>'
|
||||
else:
|
||||
if not iconsAsButtons:
|
||||
newPostButtonStr = \
|
||||
|
@ -6808,7 +6805,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
newPostButtonStr = \
|
||||
'<a href="' + usersPath + '/newfollowers">' + \
|
||||
'<button class="button"><span>' + \
|
||||
translate['Post'] + ' </span></button></a>\n'
|
||||
translate['Post'] + '</span></button></a>'
|
||||
# This creates a link to the profile page when viewed
|
||||
# in lynx, but should be invisible in a graphical web browser
|
||||
tlStr += \
|
||||
|
|
Loading…
Reference in New Issue