From: Eric Wong Date: Thu, 30 Jun 2016 08:01:39 +0000 (+0000) Subject: view: default to flat/hybrid thread display X-Git-Tag: v1.0.0~347^2~1 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=26fed2421f96f2a3f15dea1b730a3f3f6634f01c view: default to flat/hybrid thread display This is friendlier for people on small screens and usually eliminates the need to scroll horizontally. --- 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 = "$threaded"; } - $rv .= " [$threaded"; - $rv .= "|$flat]"; + $rv .= " / [$flat"; + $rv .= "|$threaded]"; + $rv .= " / thread overview"; } $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(expand ) . + my $expand = qq(expand ) . qq(/ mbox.gz ) . qq(/ Atom feed); @@ -869,7 +870,7 @@ sub emit_topics { } $subj = PublicInbox::Hval->new($subj)->as_html; - $cur->[1] .= "$subj\n"; + $cur->[1] .= "$subj\n"; $ts = fmt_ts($ts); my $attr = " $ts UTC";