summaryrefslogtreecommitdiff
path: root/actions/showstream.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-07-29 23:26:51 -0400
committerEvan Prodromou <evan@prodromou.name>2008-07-29 23:26:51 -0400
commit2090e0aa78daea617c605239a9cb1aaddfcf3228 (patch)
treee8d819a9d71c8d6485e5a773c33d004595e4d9b8 /actions/showstream.php
parente998cc3960fd4a0cd6df9b21500f0272d5c5eb66 (diff)
show where a notice came from
darcs-hash:20080730032651-84dde-0685ec5f899129bc75745ca8d1d083f56f3f1ff5.gz
Diffstat (limited to 'actions/showstream.php')
-rw-r--r--actions/showstream.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/actions/showstream.php b/actions/showstream.php
index fba68d129..0f4d79d27 100644
--- a/actions/showstream.php
+++ b/actions/showstream.php
@@ -400,6 +400,10 @@ class ShowstreamAction extends StreamAction {
'href' => $noticeurl,
'title' => common_exact_date($notice->created)),
common_date_string($notice->created));
+ if ($notice->source) {
+ common_text(_(' from '));
+ $this->source_link($notice->source);
+ }
if ($notice->reply_to) {
$replyurl = common_local_url('shownotice', array('notice' => $notice->reply_to));
common_text(' (');