lib/PublicInbox/View.pm | 10 ++++++---- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index a3a955b2b520515340e57f4bee289cad4ab147f6..d8fb1cb5ba0b95761ed4924725bcdd54d59d68a5 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -463,15 +463,17 @@ my $srch = $ctx->{srch}; my $mid = mid_clean($cur->header('Message-ID')); my $res = $srch->get_thread($mid); my $nr = $res->{total}; + my $upfx = $full_pfx ? '' : '../'; + my $expand = "(expand " . + "/ mbox.gz)"; if ($nr <= 1) { - $$dst .= "\n[no followups, yet]\n"; + $$dst .= "\n[no followups, yet] $expand\n"; return (undef, in_reply_to($cur)); } - my $upfx = $full_pfx ? '' : '../'; + + $$dst .= "\n\n~$nr messages in thread: $expand\n"; - $$dst .= "\n\n~$nr messages in thread: ". - "(expand)\n"; my $subj = $srch->subject_path($cur->header('Subject')); my $parent = in_reply_to($cur); my $state = {