elixir/templates
Théo Lebrun e1bdface0c templates/ident: improve "Identifier not used" message
"Identifier not used" is weird, replace it by "unknown identifier" and
 give the search identifier name in the header.

Also improve the autocomplete comment. Make it human-friendly and
explain why people got autocompleted to a symbol that does not exist.
Also, only show it if the symbol actually exists. That way we only
tell "maybe autocomplete lead you here" only in cases where
autocomplete can actually lead you here.

To test this feature:
 - search for any random symbol, you'll see "Unknown identifier '...'"
 - search for a symbol that exists in another version as the selected
   one. For example __NR_epoll_pwait2 appeared in musl v1.2.5. You'll
   see the same header message plus a comment about how the symbol
   exists in another version.

Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
2025-11-05 14:18:41 +01:00
..
error.html web: Unify _link and _url variable suffixes 2025-02-14 12:50:29 +01:00
header.html web: refactor message banners & support mobile 2025-07-25 12:26:04 +02:00
ident.html templates/ident: improve "Identifier not used" message 2025-11-05 14:18:41 +01:00
layout.html web: refactor message banners & support mobile 2025-07-25 12:26:04 +02:00
sidebar.html web: Add ability to hide sidebar on desktop layout 2024-09-11 11:13:13 +02:00
source.html web: Meta descriptions improvements 2024-11-05 12:20:02 +01:00
topbar.html web: use GET for ident search form 2025-11-05 09:48:06 +01:00
tree.html web: Meta descriptions improvements 2024-11-05 12:20:02 +01:00