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.

Fold admin work into repository settings and a Users page

9579c1f976254fdeb2ec73d4016db5b25c7921c1 · Keenan Nemetz · 14d ago · parent 381d6aac

Fold admin work into repository settings and a Users page

Remove the combined /admin tabs. Per-repository access rules now live on the repository's Settings page, visible to instance admins while repository details and the danger zone stay with repository admins. User management moves to /users, linked from the top navigation only for instance admins, and repository creation moves to /repos/new. Align the invite, danger-zone, and settings forms with the shared card-and-actions layout, and make settings section headings consistent.

server/web/templates/admin_head.html −14

@@ -1,14 +0,0 @@
1 {{define "adminhead"}}
2 <div class="page-head admin-head">
3 <div class="page-head-main">
4 <h1>Admin</h1>
5 <p class="page-sub">Instance-wide administration. Repository admins manage their own description, default branch, and visibility.</p>
6 </div>
7 </div>
8 <div class="admin-tabs">
9 <nav class="tabs" aria-label="Administration">
10 <a class="{{if eq .Section "admin-repos"}}active{{end}}" href="/admin"{{if eq .Section "admin-repos"}} aria-current="page"{{end}}>{{icon "book-open"}}Repositories</a>
11 <a class="{{if eq .Section "admin-users"}}active{{end}}" href="/admin/users"{{if eq .Section "admin-users"}} aria-current="page"{{end}}>{{icon "users"}}Users</a>
12 </nav>
13 </div>
14 {{end}}