summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-09 16:32:37 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-09 16:32:37 -0400
commit66b1f3f233f8c481fa7b37a46aecf9c7bb2f60a0 (patch)
tree69f1aca63c12736e0a7298b7fbed879e88e9c605 /actions/showstream.php
parentcbe07c1d37d0bf0edf9a448cc1c3c58676304af7 (diff)
show reply_to for notices in profile stream
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index eed63fab3..d4f70fbd0 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -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)),