diff options
author | 无闻 <joe2010xtmf@163.com> | 2014-09-07 19:30:51 -0400 |
---|---|---|
committer | 无闻 <joe2010xtmf@163.com> | 2014-09-07 19:30:51 -0400 |
commit | e79e4b158090bf7c5dd86ac21cd0dbf44fbc82bd (patch) | |
tree | aec4d8a53265080363b3ab7a4423bc0820133ea5 /templates/repo/settings/hook_gogs.tmpl | |
parent | 40bc130b19cf71a997d5073a2587ea2649128bf8 (diff) | |
parent | f7be61c81935a30c21797351db5da32183e3188d (diff) | |
download | gitea-e79e4b158090bf7c5dd86ac21cd0dbf44fbc82bd.tar.gz gitea-e79e4b158090bf7c5dd86ac21cd0dbf44fbc82bd.zip |
Merge pull request #442 from compressed/org_hook
Organization-level Webhooks
Diffstat (limited to 'templates/repo/settings/hook_gogs.tmpl')
-rw-r--r-- | templates/repo/settings/hook_gogs.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/settings/hook_gogs.tmpl b/templates/repo/settings/hook_gogs.tmpl index 35b5899532..31a04ce09a 100644 --- a/templates/repo/settings/hook_gogs.tmpl +++ b/templates/repo/settings/hook_gogs.tmpl @@ -1,5 +1,5 @@ <div id="gogs" class="{{if (and .PageIsSettingsHooksEdit (not (eq .HookType "Gogs")))}}hidden{{end}}"> - <form class="form form-align panel-body repo-setting-form" id="repo-setting-form-gogs" action="{{.RepoLink}}/settings/hooks/gogs/{{if .PageIsSettingsHooksNew}}new{{else}}{{.Webhook.Id}}{{end}}" method="post"> + <form class="form form-align panel-body repo-setting-form" id="repo-setting-form-gogs" action="{{if .RepoLink}}{{.RepoLink}}{{else if .OrgLink}}{{.OrgLink}}{{end}}/settings/hooks/gogs/{{if .PageIsSettingsHooksNew}}new{{else}}{{.Webhook.Id}}{{end}}" method="post"> {{.CsrfTokenHtml}} <input type="hidden" name="hook_type" value="gogs"> <div class="text-center panel-desc">{{.i18n.Tr "repo.settings.add_webhook_desc" | Str2html}}</div> |