Footer: the Forgejo mark beside “Source code”, the mark alone on phones #837
Labels
No labels
accessibility
authentication
breaking change
bug
documentation
enhancement
interface
internationalisation
observability
performance
security
tier
1
tier
2
tier
3
tier/4
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Postulo/postulo#837
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The Forgejo brand mark next to the “Source code” label; on small screens it stays right-aligned, shown as the mark alone, with “Source code” as its tooltip.
What exists today
assets/brands.txt:38(forgejo, single-colour, CC BY-SA 4.0),static/brands/forgejo.svg, drawn with{% brand "forgejo" %}(core/templatetags/postulo.py:99-124), decorative unless givenlabel=.TRADEMARKS.md:68: a mark is shown beside a link to say which service it goes to, unmodified; single-colour marks are drawn pure black or white.<p data-tooltip>tied byaria-describedby(static/js/app.js:4697-4800), andtitleon icon-only buttons (cotton/site_search.html:94-100); Basecoat's[data-tooltip="…"]attribute is deliberately not used (assets/css/app.css:1716).py-1(base.html:307-308).What would change
{% brand "forgejo" class="size-4" %}before the label; below a breakpoint the label becomessr-onlyso the link keeps its name, and the tooltip says “Source code”.Decisions
POSTULO_SOURCE_URLmay point elsewhere — a fork on GitHub or GitLab — and a Forgejo mark would then misname where the link goes, against TRADEMARKS.md. Recommended: draw the mark only when the address is on a Forgejo host (upstream's by default), and the label alone otherwise; or pick the brand by host from the brand list.titleplus thesr-onlylabel, as the masthead's icon buttons do; thearia-describedbytooltip would read “Source code” twice.Checked against
mainat8c3d03570. From the maintainer's improvements list of 2026-10-07.Fixed in
6c20eb9cdon main.