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/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software: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/home.html +2−2

@@ -11,7 +11,7 @@
11 11 {{end}}
12 12 </div>
13 13 <div class="hero-actions">
14 {{if and .InstanceAdmin .Cards}}<a class="button" href="/admin/repos/new">{{icon "plus"}}New repository</a>{{end}}
14 {{if and .InstanceAdmin .Cards}}<a class="button" href="/repos/new">{{icon "plus"}}New repository</a>{{end}}
15 15 {{if not .LoggedIn}}
16 16 <a class="button secondary" href="/login">{{icon "user"}}Sign in</a>
17 17 {{if .OpenRegistration}}<a class="button secondary" href="/register">Create an account</a>{{end}}
@@ -55,7 +55,7 @@
55 55 <span class="empty-icon" aria-hidden="true">{{icon "folder"}}</span>
56 56 <h2>No repositories yet</h2>
57 57 <p class="muted">A repository is where code, issues, changes, and runs live. Create the first one to get started.</p>
58 <p class="empty-actions"><a class="button" href="/admin/repos/new">{{icon "plus"}}New repository</a></p>
58 <p class="empty-actions"><a class="button" href="/repos/new">{{icon "plus"}}New repository</a></p>
59 59 <p class="empty-hint">Or from the instance directory: <code>vole admin repo create demo --owner {{if .User}}{{.User}}{{else}}you{{end}}</code></p>
60 60 </div>
61 61 {{else if .LoggedIn}}