Skip to content

Commit e0b4ec3

Browse files
committed
remove some changes
1 parent fbd07c1 commit e0b4ec3

File tree

7 files changed

+10
-0
lines changed

7 files changed

+10
-0
lines changed

routers/web/admin/runners.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const (
2323
// Runners render settings/actions/runners page for admin level
2424
func Runners(ctx *context.Context) {
2525
ctx.Data["PageIsAdminRunners"] = true
26+
2627
page := ctx.FormInt("page")
2728
if page <= 1 {
2829
page = 1

routers/web/org/setting/runners.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const (
2424
// Runners render settings/actions/runners page for organization level
2525
func Runners(ctx *context.Context) {
2626
ctx.Data["PageIsOrgSettingsRunners"] = true
27+
2728
ctx.Data["Title"] = ctx.Tr("actions.actions")
2829
ctx.Data["PageIsOrgSettings"] = true
2930
ctx.Data["PageType"] = "runners"

routers/web/org/setting/secrets.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ func Secrets(ctx *context.Context) {
1616
ctx.Data["PageIsOrgSettings"] = true
1717
ctx.Data["PageType"] = "secrets"
1818
ctx.Data["PageIsOrgSettingsSecrets"] = true
19+
1920
shared.SetSecretsContext(ctx, ctx.ContextUser.ID, 0)
2021
if ctx.Written() {
2122
return
2223
}
24+
2325
ctx.HTML(http.StatusOK, tplSettingsActions)
2426
}
2527

routers/web/repo/setting/runners.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ func Runners(ctx *context.Context) {
2323
ctx.Data["Title"] = ctx.Tr("actions.actions")
2424
ctx.Data["PageType"] = "runners"
2525
ctx.Data["PageIsSettingsRunners"] = true
26+
2627
page := ctx.FormInt("page")
2728
if page <= 1 {
2829
page = 1
2930
}
31+
3032
opts := actions_model.FindRunnerOptions{
3133
ListOptions: db.ListOptions{
3234
Page: page,

routers/web/repo/setting/secrets.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ func Secrets(ctx *context.Context) {
2121
if ctx.Written() {
2222
return
2323
}
24+
2425
ctx.HTML(http.StatusOK, tplActions)
2526
}
2627

routers/web/shared/actions/runners.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ func RunnersList(ctx *context.Context, opts actions_model.FindRunnerOptions) {
5757
ctx.Data["RunnerRepoID"] = opts.RepoID
5858

5959
pager := context.NewPagination(int(count), opts.PageSize, opts.Page, 5)
60+
6061
ctx.Data["Page"] = pager
6162
}
6263

routers/web/user/setting/secrets.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ func Secrets(ctx *context.Context) {
2020
ctx.Data["Title"] = ctx.Tr("actions.actions")
2121
ctx.Data["PageType"] = "secrets"
2222
ctx.Data["PageIsSettingsSecrets"] = true
23+
2324
shared.SetSecretsContext(ctx, ctx.Doer.ID, 0)
2425
if ctx.Written() {
2526
return
2627
}
28+
2729
ctx.HTML(http.StatusOK, tplSettingsActions)
2830
}
2931

0 commit comments

Comments
 (0)