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 | |
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.
-rw-r--r-- | lib/PublicInbox/Feed.pm | 2 | ||||
-rw-r--r-- | lib/PublicInbox/SearchView.pm | 8 |
2 files changed, 4 insertions, 6 deletions
diff --git a/lib/PublicInbox/Feed.pm b/lib/PublicInbox/Feed.pm index 7ebc0505..5708b60e 100644 --- a/lib/PublicInbox/Feed.pm +++ b/lib/PublicInbox/Feed.pm @@ -194,7 +194,7 @@ sub nav_footer { $head = $cgi->path_info; $head = qq!<a\nhref="$head">head</a>!; } - my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">Atom</a>"; + my $atom = "<a\nhref=\"$feed_opts->{atomurl}\">Atom feed</a>"; "<a\nname=\"s$anchor\">page:</a> $next $head $atom"; } 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 { |