about summary refs log tree commit homepage
path: root/lib/PublicInbox/View.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2022-08-26 03:20:20 +0000
committerEric Wong <e@80x24.org>2022-08-26 06:09:53 +0000
commitf2ee1e5f1c36afee3bf80e42e9c5f3196dded34f (patch)
tree161196435f96cbb9db6e7fc8030968cc8445df15 /lib/PublicInbox/View.pm
parent8ea93a0baa3a2675d8573c9b0185039ac8172f0a (diff)
downloadpublic-inbox-f2ee1e5f1c36afee3bf80e42e9c5f3196dded34f.tar.gz
When jumping to #related from /T/ or /t/ views, it could be
disconcerting to not have the current message as context.
So add a "this message" link back up to #t as we have always
done with the reply instructions.
Diffstat (limited to 'lib/PublicInbox/View.pm')
-rw-r--r--lib/PublicInbox/View.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/PublicInbox/View.pm b/lib/PublicInbox/View.pm
index 6bfaf1bb..158feb6a 100644
--- a/lib/PublicInbox/View.pm
+++ b/lib/PublicInbox/View.pm
@@ -845,7 +845,8 @@ sub html_footer {
                 $related = <<EOM;
 <form id=related
 action=$upfx
-><pre>find likely ancestor, descendant, or conflicting patches:
+><pre>find likely ancestor, descendant, or conflicting patches for <a
+href=#t>this message</a>:
 <textarea name=q cols=${\COLS} rows=$rows>$q</textarea>
 <input type=submit value=search
 />\t(<a href=${upfx}_/text/help/>help</a>)</pre></form>