correct link for repeat attribution in noticelist
This commit is contained in:
parent
b93068083e
commit
9d2a605d0e
|
@ -535,7 +535,7 @@ class NoticeListItem extends Widget
|
||||||
|
|
||||||
$repeater = Profile::staticGet('id', $this->repeat->profile_id);
|
$repeater = Profile::staticGet('id', $this->repeat->profile_id);
|
||||||
|
|
||||||
$attrs = array('href' => $this->profile->profileurl,
|
$attrs = array('href' => $repeater->profileurl,
|
||||||
'class' => 'url');
|
'class' => 'url');
|
||||||
|
|
||||||
if (!empty($repeater->fullname)) {
|
if (!empty($repeater->fullname)) {
|
||||||
|
@ -544,12 +544,12 @@ class NoticeListItem extends Widget
|
||||||
|
|
||||||
$this->out->elementStart('span', 'repeat vcard');
|
$this->out->elementStart('span', 'repeat vcard');
|
||||||
|
|
||||||
$this->out->elementStart('a', $attrs);
|
|
||||||
|
|
||||||
$this->out->raw(_('Repeated by'));
|
$this->out->raw(_('Repeated by'));
|
||||||
|
|
||||||
$avatar = $repeater->getAvatar(AVATAR_MINI_SIZE);
|
$avatar = $repeater->getAvatar(AVATAR_MINI_SIZE);
|
||||||
|
|
||||||
|
$this->out->elementStart('a', $attrs);
|
||||||
|
|
||||||
$this->out->element('img', array('src' => ($avatar) ?
|
$this->out->element('img', array('src' => ($avatar) ?
|
||||||
$avatar->displayUrl() :
|
$avatar->displayUrl() :
|
||||||
Avatar::defaultImage(AVATAR_MINI_SIZE),
|
Avatar::defaultImage(AVATAR_MINI_SIZE),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user