浏览代码

Fixed links to sdk docs

tags/v1.0.0
Thomas Boerger 7 年前
父节点
当前提交
77f9c7e571
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      modules/base/base.go
  2. 1
    1
      routers/repo/webhook.go

+ 1
- 1
modules/base/base.go 查看文件

@@ -4,7 +4,7 @@

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 (
TplName string

+ 1
- 1
routers/repo/webhook.go 查看文件

@@ -32,7 +32,7 @@ func Webhooks(ctx *context.Context) {
ctx.Data["Title"] = ctx.Tr("repo.settings.hooks")
ctx.Data["PageIsSettingsHooks"] = true
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)
if err != nil {

正在加载...
取消
保存