fix broken link
This commit is contained in:
parent
37a372f6f5
commit
4d9499c2d3
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ func Webhooks(ctx *middleware.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://github.com/gogits/go-gogs-client/wiki/Repositories-Webhooks")
|
||||||
|
|
||||||
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
|
ws, err := models.GetWebhooksByRepoID(ctx.Repo.Repository.ID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
Reference in a new issue