diff options
author | Eric Wong <e@80x24.org> | 2015-12-26 01:26:40 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-12-26 01:26:40 +0000 |
commit | 57dbfc8fca52b4c986ad53f40301c7ff7a464f78 (patch) | |
tree | c7244020c4dfc86f717366bbc059764115a7d678 /lib/PublicInbox/SearchView.pm | |
parent | 5d6c424d03a4057b129f4e5e099e378376a63e85 (diff) | |
download | public-inbox-57dbfc8fca52b4c986ad53f40301c7ff7a464f78.tar.gz |
While having the extra " feed" is noisy in the main topic landing page, it is useful in headers/footers which have plenty of space to be more descriptive.
Diffstat (limited to 'lib/PublicInbox/SearchView.pm')
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/PublicInbox/SearchView.pm b/lib/PublicInbox/SearchView.pm index 8751fca2..ab3dddb4 100644 --- a/lib/PublicInbox/SearchView.pm +++ b/lib/PublicInbox/SearchView.pm @@ -103,15 +103,13 @@ sub search_nav_top { my $x = $q->{x}; if ($x eq '') { my $t = $q->qs_html(x => 't'); - $rv .= qq{<b>summary</b>|}; - $rv .= qq{<a\nhref="?$t">threaded</a>} + $rv .= qq{<b>summary</b>|<a\nhref="?$t">threaded</a>} } elsif ($q->{x} eq 't') { my $s = $q->qs_html(x => ''); - $rv .= qq{<a\nhref="?$s">summary</a>|}; - $rv .= qq{<b>threaded</b>}; + $rv .= qq{<a\nhref="?$s">summary</a>|<b>threaded</b>}; } my $A = $q->qs_html(x => 'A', r => undef); - $rv .= qq{|<a\nhref="?$A">Atom</a>]}; + $rv .= qq{|<a\nhref="?$A">Atom feed</a>]}; } sub search_nav_bot { |