gitea/routers/web/repo/setting/actions.go
2024-11-19 17:34:06 +08:00

24 lines
507 B
Go

// Copyright 2024 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT
package setting
import (
"net/http"
"code.gitea.io/gitea/modules/base"
"code.gitea.io/gitea/services/context"
)
const (
tplRepoActionsGeneral base.TplName = "repo/settings/actions"
)
func ActionsGeneral(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("actions.general")
ctx.Data["PageType"] = "general"
ctx.Data["PageIsActionsSettingsGeneral"] = true
ctx.HTML(http.StatusOK, tplRepoActionsGeneral)
}