mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
ab0ff77f0d
commit
e1d45bb1c4
|
@ -1230,19 +1230,16 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
' <a href="'+postJsonObject['actor']+'">' \
|
' <a href="'+postJsonObject['actor']+'">' \
|
||||||
' <img src="'+avatarUrl+'" title="Show profile" alt="Avatar"'+avatarPosition+'/></a>'
|
' <img src="'+avatarUrl+'" title="Show profile" alt="Avatar"'+avatarPosition+'/></a>'
|
||||||
|
|
||||||
|
messageIdStr=''
|
||||||
|
if messageId:
|
||||||
|
messageIdStr=';'+messageId
|
||||||
|
|
||||||
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
||||||
if messageId:
|
avatarDropdown= \
|
||||||
avatarDropdown= \
|
' <div class="dropdown-timeline">' \
|
||||||
' <div class="dropdown-timeline">' \
|
' <a href="/users/'+nickname+'?options='+postJsonObject['actor']+';'+avatarUrl+messageIdStr+'">' \
|
||||||
' <a href="/users/'+nickname+'?options='+postJsonObject['actor']+';'+avatarUrl+';'+messageId+'">' \
|
' <img title="Show options for this person" src="'+avatarUrl+'" '+avatarPosition+'/></a>' \
|
||||||
' <img title="Show options for this person" src="'+avatarUrl+'" '+avatarPosition+'/></a>' \
|
' </div>'
|
||||||
' </div>'
|
|
||||||
else:
|
|
||||||
avatarDropdown= \
|
|
||||||
' <div class="dropdown-timeline">' \
|
|
||||||
' <a href="/users/'+nickname+'?options='+postJsonObject['actor']+';'+avatarUrl+'">' \
|
|
||||||
' <img title="Show options for this person" src="'+avatarUrl+'" '+avatarPosition+'/></a>' \
|
|
||||||
' </div>'
|
|
||||||
|
|
||||||
publishedStr=postJsonObject['object']['published']
|
publishedStr=postJsonObject['object']['published']
|
||||||
if '.' not in publishedStr:
|
if '.' not in publishedStr:
|
||||||
|
|
Loading…
Reference in New Issue