user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH] view: add "this message" link above dfblob: textarea
@ 2022-08-26  3:20 Eric Wong
  0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2022-08-26  3:20 UTC (permalink / raw)
  To: meta

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.
 lib/PublicInbox/ | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/PublicInbox/ b/lib/PublicInbox/
index 6bfaf1bb..158feb6a 100644
--- a/lib/PublicInbox/
+++ b/lib/PublicInbox/
@@ -845,7 +845,8 @@ sub html_footer {
 		$related = <<EOM;
 <form id=related
-><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>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-26  3:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-26  3:20 [PATCH] view: add "this message" link above dfblob: textarea Eric Wong

Code repositories for project(s) associated with this public inbox

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).