]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
show reply_to for notices in profile stream
authorEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 20:32:37 +0000 (16:32 -0400)
committerEvan Prodromou <evan@prodromou.name>
Wed, 9 Jul 2008 20:32:37 +0000 (16:32 -0400)
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz

actions/showstream.php

index eed63fab34f58c989292253ea8306b54d8a9b4a0..d4f70fbd0097af840a3cd845a153868afe67a383 100644 (file)
@@ -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)),