From 5559cc8e7266e7f8fdd46252dc110f3d4cbb5546 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 18 Nov 2015 19:40:22 +0000 Subject: view: further reduce size of attribution/timestamp The "by" on the message page and "-" in the index are unnecessary and readers should have no trouble figuring out what the attribution/timestamp line means. --- lib/PublicInbox/View.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm index ce97f615..92fedd19 100644 --- a/lib/PublicInbox/View.pm +++ b/lib/PublicInbox/View.pm @@ -107,7 +107,7 @@ sub index_entry { } $rv .= "" . PRE_WRAP; $rv .= "$subj\n"; - $rv .= "- by $from @ $ts UTC - "; + $rv .= "- $from @ $ts UTC - "; $rv .= "next"; if ($prev >= 0) { $rv .= "/prev"; @@ -875,8 +875,7 @@ sub dump_topics { qq(href="$mid/t.mbox.gz">mbox.gz); my $atom = qq(Atom); $pfx .= INDENT if $level > 0; - $dst .= "$pfx- ". $attr . $n; - $dst .= " - $mbox / $atom\n"; + $dst .= $pfx . $attr . $n . " - $mbox / $atom\n"; $prev_attr = $attr; } } -- cgit v1.2.3-24-ge0c7