Avatar links to profile page

master
Bob Mottram 2019-07-21 13:11:28 +01:00
parent df6e19e4d2
commit f19fbf7941
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ def individualPostAsHtml(postJsonObject: {}) -> str:
return \ return \
'<div class="'+containerClass+'">\n' \ '<div class="'+containerClass+'">\n' \
'<img src="'+postJsonObject['actor']+'/avatar.png" alt="Avatar"'+avatarPosition+'>\n'+ \ '<a href="'+postJsonObject['actor']+'">' \
'<img src="'+postJsonObject['actor']+'/avatar.png" alt="Avatar"'+avatarPosition+'></a>\n'+ \
postJsonObject['object']['content']+'\n'+ \ postJsonObject['object']['content']+'\n'+ \
attachmentStr+ \ attachmentStr+ \
'<span class="'+timeClass+'">'+postJsonObject['object']['published']+'</span>\n'+ \ '<span class="'+timeClass+'">'+postJsonObject['object']['published']+'</span>\n'+ \