Committer: gariev
LJSUP-7043: When you hover on the icon twitter account in the pop up window displays the icon Open IdU trunk/htdocs/tools/endpoints/ctxpopup.bml
Modified: trunk/htdocs/tools/endpoints/ctxpopup.bml =================================================================== --- trunk/htdocs/tools/endpoints/ctxpopup.bml 2010-10-05 06:41:58 UTC (rev 17506) +++ trunk/htdocs/tools/endpoints/ctxpopup.bml 2010-10-05 07:51:23 UTC (rev 17507) @@ -91,7 +91,14 @@ if ($u->is_syndicated) { $ret{url_userpic} = "$LJ::IMGPREFIX/feed100x100.png"; } elsif ($u->is_identity) { - $ret{url_userpic} = "$LJ::IMGPREFIX/identity_100x100.png"; + ## show OpedID placeholder for OpenID accounts, and + ## default placeholder for all the rest identities (Facebook, Twitter etc) + my $identity = $u->identity; + if ($identity && $identity->isa("LJ::Identity::OpenID")) { + $ret{url_userpic} = "$LJ::IMGPREFIX/identity_100x100.png"; + } else { + $ret{url_userpic} = "$LJ::IMGPREFIX/ctxpopup-nopic.gif"; + } } else { $ret{url_userpic} = "$LJ::IMGPREFIX/ctxpopup-nopic.gif"; }