]> Sergey Matveev's repositories - public-inbox.git/commitdiff
view: remove "created" and "updated" noise words
authorEric Wong <e@80x24.org>
Wed, 18 Nov 2015 01:36:55 +0000 (01:36 +0000)
committerEric Wong <e@80x24.org>
Wed, 18 Nov 2015 01:36:55 +0000 (01:36 +0000)
They increase HTML size and add to visual noise without telling
enough useful information.

lib/PublicInbox/View.pm

index 48c455362fa7aaf882669a6872dd43708a03944e..ce97f6152376ec4b591f87208d107965e55063fa 100644 (file)
@@ -861,13 +861,13 @@ sub dump_topics {
                my $attr;
                $ts = POSIX::strftime('%Y-%m-%d %H:%M', gmtime($ts));
                if ($n == 1) {
-                       $attr = "created @ $ts UTC";
+                       $attr = "@ $ts UTC";
                        $n = "";
                } else {
                        # $n isn't the total number of posts on the topic,
                        # just the number of posts in the current results
                        # window, so leave it unlabeled
-                       $attr = "updated @ $ts UTC";
+                       $attr = "@ $ts UTC";
                        $n = " ($n)";
                }
                if ($level == 0 || $attr ne $prev_attr) {