From: Eric Wong Date: Mon, 1 Feb 2016 01:35:24 +0000 (+0000) Subject: view: reference ghost parent in permalink view X-Git-Tag: v1.0.0~736 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=62572831b8f55d67f7db7d4de7a9654166765f7f;p=public-inbox.git view: reference ghost parent in permalink view We should not hide the parent Message-ID in this view; give the user the option to find the message in other archives. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index 88ab2d2f..70b92a7c 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -469,7 +469,12 @@ sub thread_inline { $$dst .= 'Thread: '; my $parent = in_reply_to($cur); if ($nr <= 1) { - $$dst .= "[no followups, yet] ($expand)\n"; + if (defined $parent) { + $$dst .= "($expand)\n "; + $$dst .= ghost_parent($upfx, $parent) . "\n"; + } else { + $$dst .= "[no followups, yet] ($expand)\n"; + } $ctx->{next_msg} = undef; $ctx->{parent_msg} = $parent; return;