about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2015-11-18 19:40:22 +0000
committerEric Wong <e@80x24.org>2015-11-18 19:40:22 +0000
commit5559cc8e7266e7f8fdd46252dc110f3d4cbb5546 (patch)
tree961b7f6f66a3973dca4887713a1d0b276486442a /lib
parent715d371ec61237804ebd988248ee73aa5943b7d9 (diff)
downloadpublic-inbox-5559cc8e7266e7f8fdd46252dc110f3d4cbb5546.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm5
1 files 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 .= "<td\nid=s$midx>" . PRE_WRAP;
         $rv .= "<b\nid=\"$id\">$subj</b>\n";
-        $rv .= "- by $from @ $ts UTC - ";
+        $rv .= "- $from @ $ts UTC - ";
         $rv .= "<a\nhref=\"#s$next\">next</a>";
         if ($prev >= 0) {
                 $rv .= "/<a\nhref=\"#s$prev\">prev</a>";
@@ -875,8 +875,7 @@ sub dump_topics {
                                    qq(href="$mid/t.mbox.gz">mbox.gz</a>);
                         my $atom = qq(<a\nhref="$mid/t.atom">Atom</a>);
                         $pfx .= INDENT if $level > 0;
-                        $dst .= "$pfx- ". $attr . $n;
-                        $dst .= " - $mbox / $atom\n";
+                        $dst .= $pfx . $attr . $n . " - $mbox / $atom\n";
                         $prev_attr = $attr;
                 }
         }