From 4e64e71e28dcfb9ef41d7cbc63ff1474ad8e5126 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Thu, 16 Mar 2017 15:50:18 -0400 Subject: templates/repo/webhook: move to its own directory --- templates/repo/settings/webhook/list.tmpl | 55 +++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 templates/repo/settings/webhook/list.tmpl (limited to 'templates/repo/settings/webhook/list.tmpl') diff --git a/templates/repo/settings/webhook/list.tmpl b/templates/repo/settings/webhook/list.tmpl new file mode 100644 index 00000000..3599172d --- /dev/null +++ b/templates/repo/settings/webhook/list.tmpl @@ -0,0 +1,55 @@ +
+ {{template "base/alert" .}} +

+ {{.i18n.Tr "repo.settings.hooks"}} +
+ +
+

+
+
+
+ {{.Description | Str2html}} +
+ {{range .Webhooks}} +
+ {{if eq .LastStatus 1}} + + {{else if eq .LastStatus 2}} + + {{else}} + + {{end}} + {{.URL}} +
+ + +
+
+ {{end}} +
+
+
+ +{{template "repo/settings/webhook/delete_modal" .}} -- cgit v1.2.3