forked from indymedia/epicyon
No longer a dropdown
parent
2b07d685e3
commit
2ac4e60af0
|
@ -1289,7 +1289,7 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
if displayName:
|
if displayName:
|
||||||
titleStr=displayName+' '+titleStr
|
titleStr=displayName+' '+titleStr
|
||||||
|
|
||||||
avatarDropdown= \
|
avatarImageInPost= \
|
||||||
' <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>'
|
||||||
|
|
||||||
|
@ -1298,7 +1298,7 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
messageIdStr=';'+messageId
|
messageIdStr=';'+messageId
|
||||||
|
|
||||||
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
||||||
avatarDropdown= \
|
avatarImageInPost= \
|
||||||
' <div class="timeline-avatar">' \
|
' <div class="timeline-avatar">' \
|
||||||
' <a href="/users/'+nickname+'?options='+postJsonObject['actor']+';'+avatarUrl+messageIdStr+'">' \
|
' <a href="/users/'+nickname+'?options='+postJsonObject['actor']+';'+avatarUrl+messageIdStr+'">' \
|
||||||
' <img title="Show options for this person" src="'+avatarUrl+'" '+avatarPosition+'/></a>' \
|
' <img title="Show options for this person" src="'+avatarUrl+'" '+avatarPosition+'/></a>' \
|
||||||
|
@ -1401,7 +1401,7 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
|
|
||||||
return \
|
return \
|
||||||
'<div class="'+containerClass+'">\n'+ \
|
'<div class="'+containerClass+'">\n'+ \
|
||||||
avatarDropdown+ \
|
avatarImageInPost+ \
|
||||||
'<p class="post-title">'+titleStr+'</p>'+ \
|
'<p class="post-title">'+titleStr+'</p>'+ \
|
||||||
contentStr+footerStr+ \
|
contentStr+footerStr+ \
|
||||||
'</div>\n'
|
'</div>\n'
|
||||||
|
|
Loading…
Reference in New Issue