本站源代码
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.

27 line
838B

  1. {{template "base/head" .}}
  2. <div class="repository settings githooks">
  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. {{.i18n.Tr "repo.settings.githooks"}}
  9. </h4>
  10. <div class="ui attached segment">
  11. <div class="ui list">
  12. <div class="item">
  13. {{.i18n.Tr "repo.settings.githooks_desc" | Str2html}}
  14. </div>
  15. {{range .Hooks}}
  16. <div class="item">
  17. <span class="text {{if .IsActive}}green{{else}}grey{{end}}"><i class="octicon octicon-primitive-dot"></i></span>
  18. <span>{{.Name}}</span>
  19. <a class="text blue ui right" href="{{$.RepoLink}}/settings/hooks/git/{{.Name}}"><i class="fa fa-pencil"></i></a>
  20. </div>
  21. {{end}}
  22. </div>
  23. </div>
  24. </div>
  25. </div>
  26. {{template "base/footer" .}}
上海开阖软件有限公司 沪ICP备12045867号-1