Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Add a Projects link to the global bar

cd71b776a0d2446a3b432e88289f683ad2c17fbd · Keenan Nemetz · 13d ago · parent 13cff33f

Add a Projects link to the global bar

The bar offered Activity (and Accounts to an instance admin) and nothing that
said "the repository list". The landing page was reachable only through the
emblem, which links there without saying so, and a mark is not a label: a text
destination is what makes the bar navigable.

Projects points at the landing page and marks itself current wherever the
repository list is the context — the landing page and a repository page, which is
the same global destination pageSection already assigns to "repos". The glyph is
Lucide's grid-2x2 rather than the layout-dashboard already used for the two
"Overview" subnavs, so the global bar does not reuse a tab's icon.

server/web/templates/chrome.html +1

@@ -20,6 +20,7 @@
20 20 <header class="topbar">
21 21 <a class="brand" href="/" aria-label="Vole home"><span class="mark" aria-hidden="true">v</span>vole</a>
22 22 <nav class="topnav" aria-label="Global">
23 <a class="{{if eq .Section "repos"}}active{{end}}" href="/"{{if eq .Section "repos"}} aria-current="page"{{end}}>{{icon "grid-2x2"}}Projects</a>
23 24 <a class="{{if eq .Section "activity"}}active{{end}}" href="/activity"{{if eq .Section "activity"}} aria-current="page"{{end}}>{{icon "activity"}}Activity</a>
24 25 {{if .InstanceAdmin}}<a class="{{if eq .Section "users"}}active{{end}}" href="/users"{{if eq .Section "users"}} aria-current="page"{{end}}>{{icon "users"}}Accounts</a>{{end}}
25 26 </nav>