Removed avatar from repeat of username (matches noticelist)
This commit is contained in:
parent
dcce323d18
commit
5b1245a32a
@ -291,23 +291,6 @@ class ProfileNoticeListItem extends NoticeListItem
|
|||||||
|
|
||||||
$this->out->elementStart('span', 'repeat');
|
$this->out->elementStart('span', 'repeat');
|
||||||
|
|
||||||
$this->out->elementStart('a', $attrs);
|
|
||||||
|
|
||||||
$avatar = $this->profile->getAvatar(AVATAR_MINI_SIZE);
|
|
||||||
|
|
||||||
$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' =>
|
|
||||||
($this->profile->fullname) ?
|
|
||||||
$this->profile->fullname :
|
|
||||||
$this->profile->nickname));
|
|
||||||
|
|
||||||
$this->out->elementEnd('a');
|
|
||||||
|
|
||||||
$text_link = XMLStringer::estring('a', $attrs, $this->profile->nickname);
|
$text_link = XMLStringer::estring('a', $attrs, $this->profile->nickname);
|
||||||
|
|
||||||
$this->out->raw(sprintf(_('Repeat of %s'), $text_link));
|
$this->out->raw(sprintf(_('Repeat of %s'), $text_link));
|
||||||
|
Loading…
Reference in New Issue
Block a user