You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.6 KiB

  1. {{template "ng/base/head" .}}
  2. {{template "ng/base/header" .}}
  3. {{template "org/base/header" .}}
  4. <div id="setting-wrapper" class="main-wrapper">
  5. <div id="org-setting" class="container clear">
  6. {{template "org/settings/nav" .}}
  7. <div class="grid-4-5 left">
  8. <div class="setting-content">
  9. {{template "ng/base/alert" .}}
  10. <div id="setting-content">
  11. <div id="repo-hooks-panel" class="panel panel-radius">
  12. <div class="panel-header">
  13. <strong>{{if .PageIsSettingsHooksNew}}{{.i18n.Tr "repo.settings.add_webhook"}}{{else}}{{.i18n.Tr "repo.settings.update_webhook"}}{{end}}</strong>
  14. </div>
  15. {{template "repo/settings/hook_types" .}}
  16. {{template "repo/settings/hook_gogs" .}}
  17. {{template "repo/settings/hook_slack" .}}
  18. </div>
  19. </div>
  20. {{if .PageIsSettingsHooksEdit}}
  21. <br>
  22. <div id="setting-content">
  23. <div id="repo-hooks-history-panel" class="panel panel-radius">
  24. <div class="panel-header">
  25. <strong>{{.i18n.Tr "repo.settings.recent_deliveries"}}</strong>
  26. </div>
  27. <ul class="panel-body setting-list">
  28. <li>Coming soon!</li>
  29. </ul>
  30. </div>
  31. </div>
  32. {{end}}
  33. </div>
  34. </div>
  35. </div>
  36. </div>
  37. {{template "ng/base/footer" .}}