about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-06-30 08:01:39 +0000
committerEric Wong <e@80x24.org>2016-06-30 08:57:24 +0000
commit26fed2421f96f2a3f15dea1b730a3f3f6634f01c (patch)
tree29b8c1e795eb44a656d9cea5758c0ca58dd02acc /lib
parente29518088b3f4a4759280f76dd5416c376ee683e (diff)
downloadpublic-inbox-26fed2421f96f2a3f15dea1b730a3f3f6634f01c.tar.gz
This is friendlier for people on small screens and usually
eliminates the need to scroll horizontally.
Diffstat (limited to 'lib')
-rw-r--r--lib/PublicInbox/View.pm9
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 44130b90..22d72500 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -154,8 +154,9 @@ sub index_entry {
                 } else {
                         $threaded = "<b>$threaded</b>";
                 }
-                $rv .= " [<a\nhref=\"${mhref}t/#u\">$threaded</a>";
-                $rv .= "|<a\nhref=\"${mhref}T/#u\">$flat</a>]";
+                $rv .= " / [<a\nhref=\"${mhref}T/#u\">$flat</a>";
+                $rv .= "|<a\nhref=\"${mhref}t/#u\">$threaded</a>]";
+                $rv .= " / <a\nhref=#r$id>thread overview</a>";
         }
 
         $rv .= $more ? "\n\n" : "\n";
@@ -498,7 +499,7 @@ sub thread_skel {
         my $mid = mid_clean($hdr->header_raw('Message-ID'));
         my $sres = $srch->get_thread($mid);
         my $nr = $sres->{total};
-        my $expand = qq(<a\nhref="${tpfx}t/#u">expand</a> ) .
+        my $expand = qq(<a\nhref="${tpfx}T/#u">expand</a> ) .
                         qq(/ <a\nhref="${tpfx}t.mbox.gz">mbox.gz</a> ) .
                         qq(/ <a\nhref="${tpfx}t.atom">Atom feed</a>);
 
@@ -869,7 +870,7 @@ sub emit_topics {
                 }
 
                 $subj = PublicInbox::Hval->new($subj)->as_html;
-                $cur->[1] .= "<a\nhref=\"$mid/t/#u\"><b>$subj</b></a>\n";
+                $cur->[1] .= "<a\nhref=\"$mid/T/#u\"><b>$subj</b></a>\n";
                 $ts = fmt_ts($ts);
                 my $attr = " $ts UTC";