about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2017-10-18 21:28:52 +0000
committerEric Wong <e@80x24.org>2017-10-18 21:29:43 +0000
commitb223e6f49debb99b9132bc85d97a065ebcee00b9 (patch)
treed8f27faba26153097d20d6d792d29d9770aaf312 /lib
parentec24b4af88d7922e4bf9846e76b9455fb6a5bda4 (diff)
downloadpublic-inbox-b223e6f49debb99b9132bc85d97a065ebcee00b9.tar.gz
We always do threading, so perhaps it's not a good name.
"Nested" is probably more appropriate and closer to what
people are used to seeing.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index ac7657ae..ad94977a 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -186,17 +186,17 @@ sub index_entry {
                 $rv .= "\t[relevance $pct->{$mid_raw}%]";
                 $hr = 1;
         } elsif ($mapping) {
-                my $threaded = 'threaded';
+                my $nested = 'nested';
                 my $flat = 'flat';
                 my $end = '';
                 if ($ctx->{flat}) {
                         $hr = 1;
                         $flat = "<b>$flat</b>";
                 } else {
-                        $threaded = "<b>$threaded</b>";
+                        $nested = "<b>$nested</b>";
                 }
                 $rv .= "\t[<a\nhref=\"${mhref}T/#u\">$flat</a>";
-                $rv .= "|<a\nhref=\"${mhref}t/#u\">$threaded</a>]";
+                $rv .= "|<a\nhref=\"${mhref}t/#u\">$nested</a>]";
                 $rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
         } else {
                 $hr = $ctx->{-hr};