mirror of https://gitlab.com/bashrc2/epicyon
New blog button
parent
1f884f010d
commit
b6b8b11659
|
@ -3484,17 +3484,24 @@ def htmlTimeline(defaultTimeline: str, \
|
|||
#tlStr=htmlHeader(cssFilename,profileStyle,240)
|
||||
|
||||
if boxName!='dm':
|
||||
if not manuallyApproveFollowers:
|
||||
if boxName!='tlblogs':
|
||||
if not manuallyApproveFollowers:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newpost"><img loading="lazy" src="/'+ \
|
||||
iconsDir+'/newpost.png" title="'+ \
|
||||
translate['Create a new post']+'" alt="'+ \
|
||||
translate['Create a new post']+'" class="timelineicon"/></a>'
|
||||
else:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newfollowers"><img loading="lazy" src="/'+ \
|
||||
iconsDir+'/newpost.png" title="'+translate['Create a new post']+ \
|
||||
'" alt="'+translate['Create a new post']+'" class="timelineicon"/></a>'
|
||||
else:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newpost"><img loading="lazy" src="/'+ \
|
||||
'<a href="'+actor+'/newblog"><img loading="lazy" src="/'+ \
|
||||
iconsDir+'/newpost.png" title="'+ \
|
||||
translate['Create a new post']+'" alt="'+ \
|
||||
translate['Create a new post']+'" class="timelineicon"/></a>'
|
||||
else:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newfollowers"><img loading="lazy" src="/'+ \
|
||||
iconsDir+'/newpost.png" title="'+translate['Create a new post']+ \
|
||||
'" alt="'+translate['Create a new post']+'" class="timelineicon"/></a>'
|
||||
else:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newdm"><img loading="lazy" src="/'+ \
|
||||
|
|
Loading…
Reference in New Issue