forked from indymedia/epicyon
Consistent sequence
parent
db69b285a8
commit
fb17bfceae
|
@ -2298,9 +2298,6 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
galleryStr+=' <a href="'+attach['url']+'">\n'
|
galleryStr+=' <a href="'+attach['url']+'">\n'
|
||||||
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n'
|
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n'
|
||||||
galleryStr+=' </a>\n'
|
galleryStr+=' </a>\n'
|
||||||
galleryStr+=' <div class="mediaicons">\n'
|
|
||||||
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
|
|
||||||
galleryStr+=' </div>\n'
|
|
||||||
if postJsonObject['object'].get('url'):
|
if postJsonObject['object'].get('url'):
|
||||||
imagePostUrl=postJsonObject['object']['url']
|
imagePostUrl=postJsonObject['object']['url']
|
||||||
else:
|
else:
|
||||||
|
@ -2309,6 +2306,9 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
galleryStr+=' <a href="'+imagePostUrl+'" class="gallerytext"><div class="gallerytext">'+imageDescription+'</div></a>\n'
|
galleryStr+=' <a href="'+imagePostUrl+'" class="gallerytext"><div class="gallerytext">'+imageDescription+'</div></a>\n'
|
||||||
else:
|
else:
|
||||||
galleryStr+='<label class="transparent">---</label><br>'
|
galleryStr+='<label class="transparent">---</label><br>'
|
||||||
|
galleryStr+=' <div class="mediaicons">\n'
|
||||||
|
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
|
||||||
|
galleryStr+=' </div>\n'
|
||||||
galleryStr+='</div>\n'
|
galleryStr+='</div>\n'
|
||||||
|
|
||||||
attachmentStr+='<a href="'+attach['url']+'">'
|
attachmentStr+='<a href="'+attach['url']+'">'
|
||||||
|
|
Loading…
Reference in New Issue