show reply_to for notices in profile stream
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz
This commit is contained in:
parent
cbe07c1d37
commit
66b1f3f233
|
@ -371,6 +371,14 @@ class ShowstreamAction extends StreamAction {
|
|||
'href' => $noticeurl,
|
||||
'title' => common_exact_date($notice->created)),
|
||||
common_date_string($notice->created));
|
||||
if ($notice->reply_to) {
|
||||
$replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to));
|
||||
common_text(' (');
|
||||
common_element('a', array('class' => 'inreplyto',
|
||||
'href' => $replyurl),
|
||||
_t('in reply to...'));
|
||||
common_text(')');
|
||||
}
|
||||
common_element_start('a',
|
||||
array('href' => common_local_url('newnotice',
|
||||
array('replyto' => $profile->nickname)),
|
||||
|
|
Loading…
Reference in New Issue
Block a user