mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 12:26:10 +01:00
24 lines
507 B
Go
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)
|
|
}
|