diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-09-07 19:39:26 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-09-07 19:39:26 -0400 |
commit | f8977f4847b8df9feec1bb5913f75401d79db876 (patch) | |
tree | 1419364509b0f53c2294fa9dbdeffb7770762033 /templates/org | |
parent | e79e4b158090bf7c5dd86ac21cd0dbf44fbc82bd (diff) | |
download | gitea-f8977f4847b8df9feec1bb5913f75401d79db876.tar.gz gitea-f8977f4847b8df9feec1bb5913f75401d79db876.zip |
Organization level webhooks
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/settings/hooks.tmpl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/org/settings/hooks.tmpl b/templates/org/settings/hooks.tmpl index 713cfeb457..2f6ba630e6 100644 --- a/templates/org/settings/hooks.tmpl +++ b/templates/org/settings/hooks.tmpl @@ -16,16 +16,16 @@ <ul class="panel-body setting-list"> <li>{{.i18n.Tr "org.settings.hooks_desc" | Str2html}}</li> {{range .Webhooks}} - <li> - {{if .IsActive}} - <span class="left text-success"><i class="octicon octicon-check"></i></span> - {{else}} - <span class="left text-grey"><i class="octicon octicon-primitive-dot"></i></span> - {{end}} - <a class="link" href="{{$.OrgLink}}/settings/hooks/{{.Id}}">{{.Url}}</a> - <a href="{{$.OrgLink}}/settings/hooks?remove={{.Id}}" class="text-red right"><i class="fa fa-times"></i></a> - <a href="{{$.OrgLink}}/settings/hooks/{{.Id}}" class="text-blue right"><i class="fa fa-pencil"></i></a> - </li> + <li> + {{if .IsActive}} + <span class="left text-success"><i class="octicon octicon-check"></i></span> + {{else}} + <span class="left text-grey"><i class="octicon octicon-primitive-dot"></i></span> + {{end}} + <a class="link" href="{{$.OrgLink}}/settings/hooks/{{.Id}}">{{.Url}}</a> + <a href="{{$.OrgLink}}/settings/hooks?remove={{.Id}}" class="text-red right"><i class="fa fa-times"></i></a> + <a href="{{$.OrgLink}}/settings/hooks/{{.Id}}" class="text-blue right"><i class="fa fa-pencil"></i></a> + </li> {{end}} </ul> </div> |