forked from indymedia/epicyon
Indentation
parent
5dc9f0b78d
commit
64ac0d2b69
|
@ -5281,7 +5281,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
elif boxName == 'tlblogs':
|
elif boxName == 'tlblogs':
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
' <a class="imageAnchor" href="' + usersPath + \
|
' <a class="imageAnchor" href="' + usersPath + \
|
||||||
'/newblog"><img loading="lazy" src="/' + \
|
'/newblog"><img loading="lazy" src="/' + \
|
||||||
iconsDir + '/newpost.png" title="' + \
|
iconsDir + '/newpost.png" title="' + \
|
||||||
translate['Create a new post'] + '" alt="| ' + \
|
translate['Create a new post'] + '" alt="| ' + \
|
||||||
|
@ -5289,7 +5289,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
elif boxName == 'tlevents':
|
elif boxName == 'tlevents':
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
' <a class="imageAnchor" href="' + usersPath + \
|
' <a class="imageAnchor" href="' + usersPath + \
|
||||||
'/newevent"><img loading="lazy" src="/' + \
|
'/newevent"><img loading="lazy" src="/' + \
|
||||||
iconsDir + '/newpost.png" title="' + \
|
iconsDir + '/newpost.png" title="' + \
|
||||||
translate['Create a new event'] + '" alt="| ' + \
|
translate['Create a new event'] + '" alt="| ' + \
|
||||||
|
@ -5298,7 +5298,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
else:
|
else:
|
||||||
if not manuallyApproveFollowers:
|
if not manuallyApproveFollowers:
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
' <a class="imageAnchor" href="' + usersPath + \
|
' <a class="imageAnchor" href="' + usersPath + \
|
||||||
'/newpost"><img loading="lazy" src="/' + \
|
'/newpost"><img loading="lazy" src="/' + \
|
||||||
iconsDir + '/newpost.png" title="' + \
|
iconsDir + '/newpost.png" title="' + \
|
||||||
translate['Create a new post'] + '" alt="| ' + \
|
translate['Create a new post'] + '" alt="| ' + \
|
||||||
|
@ -5306,7 +5306,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
else:
|
else:
|
||||||
newPostButtonStr = \
|
newPostButtonStr = \
|
||||||
' <a class="imageAnchor" href="' + usersPath + \
|
' <a class="imageAnchor" href="' + usersPath + \
|
||||||
'/newfollowers"><img loading="lazy" src="/' + \
|
'/newfollowers"><img loading="lazy" src="/' + \
|
||||||
iconsDir + '/newpost.png" title="' + \
|
iconsDir + '/newpost.png" title="' + \
|
||||||
translate['Create a new post'] + \
|
translate['Create a new post'] + \
|
||||||
|
@ -5332,6 +5332,7 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
tlStr += ' </div>\n'
|
tlStr += ' </div>\n'
|
||||||
tlStr += ' <div class="column-center">\n'
|
tlStr += ' <div class="column-center">\n'
|
||||||
|
|
||||||
|
# start of the button header with inbox, outbox, etc
|
||||||
tlStr += ' <div class="container">\n'
|
tlStr += ' <div class="container">\n'
|
||||||
# first button
|
# first button
|
||||||
if defaultTimeline == 'tlmedia':
|
if defaultTimeline == 'tlmedia':
|
||||||
|
@ -5441,7 +5442,8 @@ def htmlTimeline(defaultTimeline: str,
|
||||||
'" alt="| ' + translate['Show/Hide Buttons'] + \
|
'" alt="| ' + translate['Show/Hide Buttons'] + \
|
||||||
'" class="timelineicon"/></a>\n'
|
'" class="timelineicon"/></a>\n'
|
||||||
tlStr += followApprovals
|
tlStr += followApprovals
|
||||||
tlStr += ' </div>\n'
|
# end of the button header with inbox, outbox, etc
|
||||||
|
tlStr += ' </div>\n'
|
||||||
|
|
||||||
# second row of buttons for moderator actions
|
# second row of buttons for moderator actions
|
||||||
if moderator and boxName == 'moderation':
|
if moderator and boxName == 'moderation':
|
||||||
|
|
Loading…
Reference in New Issue