* [PATCH] view: remove "created" and "updated" noise words
@ 2015-11-18 1:43 7% Eric Wong
0 siblings, 0 replies; 1+ results
From: Eric Wong @ 2015-11-18 1:43 UTC (permalink / raw)
To: meta
They increase HTML size and add to visual noise without telling
enough useful information.
---
lib/PublicInbox/View.pm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 48c4553..ce97f61 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -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) {
--
EW
^ permalink raw reply related [relevance 7%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-11-18 1:43 7% [PATCH] view: remove "created" and "updated" noise words Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).