loading up the forgejo repo on tangled to test page performance
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix typo of RunerOwnerID (#26508)

authored by

yp05327 and committed by
GitHub
bc930f33 8703b6c9

+2 -2
+1 -1
routers/web/shared/actions/runners.go
··· 51 51 ctx.Data["Runners"] = runners 52 52 ctx.Data["Total"] = count 53 53 ctx.Data["RegistrationToken"] = token.Token 54 - ctx.Data["RunnerOnwerID"] = opts.OwnerID 54 + ctx.Data["RunnerOwnerID"] = opts.OwnerID 55 55 ctx.Data["RunnerRepoID"] = opts.RepoID 56 56 57 57 pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
+1 -1
templates/shared/actions/runner_list.tmpl
··· 71 71 </td> 72 72 <td>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</td> 73 73 <td class="runner-ops"> 74 - {{if .Editable $.RunnerOnwerID $.RunnerRepoID}} 74 + {{if .Editable $.RunnerOwnerID $.RunnerRepoID}} 75 75 <a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a> 76 76 {{end}} 77 77 </td>