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.

Move Clone and Site into the repository header

816cc543d34ab52df01c62cfd8878ae70327a21f · Keenan Nemetz · 11d ago · parent a196e404

Move Clone and Site into the repository header

The repository header now carries the controls that act on the repository as a whole. Clone appears once beside the name on every tab, with a copy button for the HTTPS URL and one for the SSH command. Site joins it only when a site would answer: pages are enabled, the repository is public, and its pages branch exists.

The per-tab Clone popovers and the Overview/Code Site buttons are gone, so a tab's page header holds only that tab's own actions. Copy feedback now restores innerHTML, keeping the icon on an icon-only button and surviving a repeated click.

server/web/templates/commit.html +2−2

@@ -2,7 +2,7 @@
2 2 links here; commit.go and the Commits handler render these. */}}
3 3 {{define "commits"}}
4 4 {{template "header" .}}
5 {{template "repohead" (nav .Name "code" .CanAdmin)}}
5 {{template "repohead" (nav .Name "code" .CanAdmin .CloneURL .SSHURL .Site)}}
6 6 <div class="page-head">
7 7 <div class="page-head-main">
8 8 <h1>History</h1>
@@ -17,7 +17,7 @@
17 17
18 18 {{define "commit"}}
19 19 {{template "header" .}}
20 {{template "repohead" (nav .Name "code" .CanAdmin)}}
20 {{template "repohead" (nav .Name "code" .CanAdmin .CloneURL .SSHURL .Site)}}
21 21 <div class="page-head">
22 22 <div class="page-head-main">
23 23 <h1>{{.Commit.Subject}}</h1>