forked from indymedia/epicyon
New blog button
parent
1f884f010d
commit
b6b8b11659
|
@ -3484,6 +3484,7 @@ def htmlTimeline(defaultTimeline: str, \
|
|||
#tlStr=htmlHeader(cssFilename,profileStyle,240)
|
||||
|
||||
if boxName!='dm':
|
||||
if boxName!='tlblogs':
|
||||
if not manuallyApproveFollowers:
|
||||
newPostButtonStr= \
|
||||
'<a href="'+actor+'/newpost"><img loading="lazy" src="/'+ \
|
||||
|
@ -3495,6 +3496,12 @@ def htmlTimeline(defaultTimeline: str, \
|
|||
'<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+'/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+'/newdm"><img loading="lazy" src="/'+ \
|
||||
|
|
Loading…
Reference in New Issue