forked from indymedia/epicyon
Don't show dropdown on search avatar
parent
bcd6278e82
commit
82a8032b6c
|
@ -481,7 +481,7 @@ 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>'
|
||||||
|
|
||||||
if fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']:
|
||||||
# if not following then show "Follow" in the dropdown
|
# if not following then show "Follow" in the dropdown
|
||||||
followUnfollowStr='<a href="/users/'+nickname+'?follow='+postJsonObject['actor']+';'+avatarUrl+'">Follow</a>'
|
followUnfollowStr='<a href="/users/'+nickname+'?follow='+postJsonObject['actor']+';'+avatarUrl+'">Follow</a>'
|
||||||
# if following then show "Unfollow" in the dropdown
|
# if following then show "Unfollow" in the dropdown
|
||||||
|
|
Loading…
Reference in New Issue