* [PATCH 1/3] view: reduce visual noise in conversation view
2016-07-07 3:11 5% [PATCH 0/3] view: visual and navigation tweaks Eric Wong
@ 2016-07-07 3:11 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-07-07 3:11 UTC (permalink / raw)
To: meta
No need for ' / ' delimiters on lines dedicated for hyperlinks.
---
lib/PublicInbox/View.pm | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 0903550..7be72cf 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -156,10 +156,10 @@ sub index_entry {
# add the footer
$rv .= "\n<a\nhref=#$id_m\nid=e$id>^</a> ".
"<a\nhref=\"$mhref\">permalink</a>" .
- " / <a\nhref=\"${mhref}raw\">raw</a>" .
- " / <a\nhref=\"${mhref}#R\">reply</a>";
+ " <a\nhref=\"${mhref}raw\">raw</a>" .
+ " <a\nhref=\"${mhref}#R\">reply</a>";
if (my $pct = $ctx->{pct}) { # used by SearchView.pm
- $rv .= " [relevance $pct->{$mid_raw}%]";
+ $rv .= "\t[relevance $pct->{$mid_raw}%]";
} elsif ($mapping) {
my $threaded = 'threaded';
my $flat = 'flat';
@@ -169,9 +169,9 @@ sub index_entry {
} else {
$threaded = "<b>$threaded</b>";
}
- $rv .= " / [<a\nhref=\"${mhref}T/#u\">$flat</a>";
+ $rv .= "\t[<a\nhref=\"${mhref}T/#u\">$flat</a>";
$rv .= "|<a\nhref=\"${mhref}t/#u\">$threaded</a>]";
- $rv .= " / <a\nhref=#r$id>$ctx->{s_nr}</a>";
+ $rv .= " <a\nhref=#r$id>$ctx->{s_nr}</a>";
}
$rv .= $more ? "\n\n" : "\n";
--
EW
^ permalink raw reply related [relevance 7%]
* [PATCH 0/3] view: visual and navigation tweaks
@ 2016-07-07 3:11 5% Eric Wong
2016-07-07 3:11 7% ` [PATCH 1/3] view: reduce visual noise in conversation view Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2016-07-07 3:11 UTC (permalink / raw)
To: meta
These little things should make the navigation experience a
little more tolerable in the per-message view.
Eric Wong (3):
view: reduce visual noise in conversation view
view: preserve attribution for current message
view: per-message view links to real previous sibling
lib/PublicInbox/View.pm | 57 ++++++++++++++++++++++++++++++-------------------
1 file changed, 35 insertions(+), 22 deletions(-)
^ permalink raw reply [relevance 5%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-07-07 3:11 5% [PATCH 0/3] view: visual and navigation tweaks Eric Wong
2016-07-07 3:11 7% ` [PATCH 1/3] view: reduce visual noise in conversation view Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).