mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-04 17:09:23 +08:00
Fixed links to sdk docs
This commit is contained in:
parent
e378648c79
commit
77f9c7e571
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
package base
|
package base
|
||||||
|
|
||||||
const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk"
|
const DocURL = "https://godoc.org/github.com/go-gitea/go-sdk/gitea"
|
||||||
|
|
||||||
type (
|
type (
|
||||||
TplName string
|
TplName string
|
||||||
|
@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) {
|
|||||||
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
|
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
|
||||||
ctx.Data["PageIsSettingsHooks"] = true
|
ctx.Data["PageIsSettingsHooks"] = true
|
||||||
ctx.Data["BaseLink"] = ctx.Repo.RepoLink
|
ctx.Data["BaseLink"] = ctx.Repo.RepoLink
|
||||||
ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://github.com/gogits/go-gogs-client/wiki/Repositories-Webhooks")
|
ctx.Data["Description"] = ctx.Tr("repo.settings.hooks_desc", "https://godoc.org/github.com/go-gitea/go-sdk/gitea")
|
||||||
|
|
||||||
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
|
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user