forked from GNUsocial/gnu-social
Don't show repeater avatar in notice lists
This commit is contained in:
parent
d6873beb9b
commit
608d1b206a
@ -551,17 +551,6 @@ class NoticeListItem extends Widget
|
|||||||
|
|
||||||
$this->out->elementStart('a', $attrs);
|
$this->out->elementStart('a', $attrs);
|
||||||
|
|
||||||
$this->out->element('img', array('src' => ($avatar) ?
|
|
||||||
$avatar->displayUrl() :
|
|
||||||
Avatar::defaultImage(AVATAR_MINI_SIZE),
|
|
||||||
'class' => 'avatar photo',
|
|
||||||
'width' => AVATAR_MINI_SIZE,
|
|
||||||
'height' => AVATAR_MINI_SIZE,
|
|
||||||
'alt' =>
|
|
||||||
($repeater->fullname) ?
|
|
||||||
$repeater->fullname :
|
|
||||||
$repeater->nickname));
|
|
||||||
|
|
||||||
$this->out->element('span', 'nickname', $repeater->nickname);
|
$this->out->element('span', 'nickname', $repeater->nickname);
|
||||||
$this->out->elementEnd('a');
|
$this->out->elementEnd('a');
|
||||||
|
|
||||||
|
@ -159,7 +159,6 @@ RealtimeUpdate = {
|
|||||||
ru = repeat['user'];
|
ru = repeat['user'];
|
||||||
ni = ni + "<span class=\"repeat vcard\">Repeated by " +
|
ni = ni + "<span class=\"repeat vcard\">Repeated by " +
|
||||||
"<a href=\"" + ru['profile_url'] + "\" class=\"url\">" +
|
"<a href=\"" + ru['profile_url'] + "\" class=\"url\">" +
|
||||||
"<img src=\"" + ru['profile_image_url'] + "\" class=\"avatar photo\" width=\"24\" height=\"24\" alt=\"" + ru['screen_name'] + "\"/>" +
|
|
||||||
"<span class=\"nickname\">"+ ru['screen_name'] + "</span></a></span>";
|
"<span class=\"nickname\">"+ ru['screen_name'] + "</span></a></span>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user