mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-29 12:34:42 +08:00
Fix typo of RunerOwnerID (#26508)
This commit is contained in:
parent
8703b6c954
commit
bc930f332f
|
@ -51,7 +51,7 @@ func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions) {
|
||||||
ctx.Data["Runners"] = runners
|
ctx.Data["Runners"] = runners
|
||||||
ctx.Data["Total"] = count
|
ctx.Data["Total"] = count
|
||||||
ctx.Data["RegistrationToken"] = token.Token
|
ctx.Data["RegistrationToken"] = token.Token
|
||||||
ctx.Data["RunnerOnwerID"] = opts.OwnerID
|
ctx.Data["RunnerOwnerID"] = opts.OwnerID
|
||||||
ctx.Data["RunnerRepoID"] = opts.RepoID
|
ctx.Data["RunnerRepoID"] = opts.RepoID
|
||||||
|
|
||||||
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
|
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</td>
|
<td>{{if .LastOnline}}{{TimeSinceUnix .LastOnline $.locale}}{{else}}{{$.locale.Tr "never"}}{{end}}</td>
|
||||||
<td class="runner-ops">
|
<td class="runner-ops">
|
||||||
{{if .Editable $.RunnerOnwerID $.RunnerRepoID}}
|
{{if .Editable $.RunnerOwnerID $.RunnerRepoID}}
|
||||||
<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
|
<a href="{{$.Link}}/{{.ID}}">{{svg "octicon-pencil"}}</a>
|
||||||
{{end}}
|
{{end}}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user