New blog button

main
Bob Mottram 2020-02-24 14:54:42 +00:00
parent 1f884f010d
commit b6b8b11659
1 changed files with 14 additions and 7 deletions

View File

@ -3484,6 +3484,7 @@ def htmlTimeline(defaultTimeline: str, \
#tlStr=htmlHeader(cssFilename,profileStyle,240) #tlStr=htmlHeader(cssFilename,profileStyle,240)
if boxName!='dm': if boxName!='dm':
if boxName!='tlblogs':
if not manuallyApproveFollowers: if not manuallyApproveFollowers:
newPostButtonStr= \ newPostButtonStr= \
'<a href="'+actor+'/newpost"><img loading="lazy" src="/'+ \ '<a href="'+actor+'/newpost"><img loading="lazy" src="/'+ \
@ -3495,6 +3496,12 @@ def htmlTimeline(defaultTimeline: str, \
'<a href="'+actor+'/newfollowers"><img loading="lazy" src="/'+ \ '<a href="'+actor+'/newfollowers"><img loading="lazy" src="/'+ \
iconsDir+'/newpost.png" title="'+translate['Create a new post']+ \ iconsDir+'/newpost.png" title="'+translate['Create a new post']+ \
'" alt="'+translate['Create a new post']+'" class="timelineicon"/></a>' '" 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: else:
newPostButtonStr= \ newPostButtonStr= \
'<a href="'+actor+'/newdm"><img loading="lazy" src="/'+ \ '<a href="'+actor+'/newdm"><img loading="lazy" src="/'+ \