Fork to maintain patches against the official gitea for https://code.ceondo.com https://github.com/go-gitea/gitea

hook_new.tmpl 983B

1234567891011121314151617181920212223242526272829
  1. {{template "base/head" .}}
  2. <div class="repository settings new webhook">
  3. {{template "repo/header" .}}
  4. {{template "repo/settings/navbar" .}}
  5. <div class="ui container">
  6. {{template "base/alert" .}}
  7. <h4 class="ui top attached header">
  8. {{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}
  9. <div class="ui right">
  10. {{if eq .HookType "gitea"}}
  11. <img class="img-13" src="{{AppSubUrl}}/img/gitea-sm.png">
  12. {{else if eq .HookType "gogs"}}
  13. <img class="img-13" src="{{AppSubUrl}}/img/gogs.ico">
  14. {{else if eq .HookType "slack"}}
  15. <img class="img-13" src="{{AppSubUrl}}/img/slack.png">
  16. {{end}}
  17. </div>
  18. </h4>
  19. <div class="ui attached segment">
  20. {{template "repo/settings/hook_gitea" .}}
  21. {{template "repo/settings/hook_gogs" .}}
  22. {{template "repo/settings/hook_slack" .}}
  23. </div>
  24. {{template "repo/settings/hook_history" .}}
  25. </div>
  26. </div>
  27. {{template "base/footer" .}}