mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-24 12:14:27 +02:00
feat(runner-view): add pagination for jobs in runner details page
This commit is contained in:
1 parent
0c3f283a84
commit
e218b6f1d2
4 files changed
+35
-7
No files matched your search
@@ -47,8 +47,12 @@ func RunnersEdit(ctx *context.Context) {
|
||||
ctx.Data["Title"] = ctx.Tr("org.runners.edit")
|
||||
ctx.Data["PageIsOrgSettings"] = true
|
||||
ctx.Data["PageIsOrgSettingsRunners"] = true
|
||||
page := ctx.FormInt("page")
|
||||
if page <= 1 {
|
||||
page = 1
|
||||
}
|
||||
|
||||
common.RunnerDetails(ctx, tplSettingsRunnersEdit,
|
||||
common.RunnerDetails(ctx, tplSettingsRunnersEdit, page,
|
||||
ctx.ParamsInt64(":runnerid"), ctx.Org.Organization.ID, 0,
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user