From 66b1f3f233f8c481fa7b37a46aecf9c7bb2f60a0 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 9 Jul 2008 16:32:37 -0400 Subject: [PATCH] show reply_to for notices in profile stream darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz --- actions/showstream.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/actions/showstream.php b/actions/showstream.php index eed63fab34..d4f70fbd00 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)), -- 2.39.5