From: Eric Wong Date: Sun, 5 Oct 2014 00:23:43 +0000 (+0000) Subject: view: tweak attribution line X-Git-Tag: v1.0.0~1106 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=12c24e42b7fa14925b31e7960e181c4621c9bf33 view: tweak attribution line This reduces unnecessary white space and consistently places the attribution under the Subject. --- diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index d64aca40..9974cfa1 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -79,15 +79,15 @@ sub index_entry { $rv .= "$pfx" . "" . - "$subj\n" . - "$pfxnext"; + "$subj\n$pfx"; + $rv .= "- by $from @ $ts - "; + + $rv .= "next"; if ($prev >= 0) { $rv .= "/prev"; - } else { - $rv .= ' '; } - $rv .= " by $from @ $ts\n\n"; + $rv .= "\n\n"; my $irp = $header_obj->header_raw('In-Reply-To'); my ($anchor_idx, $anchor);