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.

Restore the home header and put the introduction in the list column

164ad9f58199497f55bd6ae5a6ab8bca27618d9d · Keenan Nemetz · 1d ago · parent ff9870f1

Restore the home header and put the introduction in the list column

Bring back the identity strip with the New repository button in it; the section heading goes back to just the list title and clear-search link. Move the introduction inside the repository column above the grid, so it is as wide as the work and the activity rail stays beside it. With no repositories there is no column, so the introduction stays full width above the empty state.

server/web/home.go +3

@@ -52,6 +52,8 @@ type repoCard struct {
52 52
53 53 type homeData struct {
54 54 Page
55 // InstanceName is the landing page heading.
56 InstanceName string
55 57 // Intro is the rendered, sanitized introduction. Empty means there is no
56 58 // introduction to show.
57 59 Intro template.HTML
@@ -94,6 +96,7 @@ func (w *Web) homeView(r *http.Request, query string) (homeData, error) {
94 96 page.Query = query
95 97 data := homeData{
96 98 Page: page,
99 InstanceName: w.instanceName(),
97 100 OpenRegistration: w.Cfg != nil && w.Cfg.OpenRegistration,
98 101 }
99 102 var snap *instancerepo.Snapshot