We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a14711 commit d670df4Copy full SHA for d670df4
internal/resources/templates/repolist.go
@@ -54,27 +54,6 @@ const RepoList = `
54
</div>
55
{{end}}
56
`
57
-const repoPage = `
58
-{{define "content"}}
59
- <div class="repository file list">
60
- <div><b>{{.FullName}}</b></div>
61
- <div><b>Available validators</b>:<br>
62
- {{range $hookname, $hook := .Hooks}}
63
- {{$hookname}}
64
- {{if eq $hook.State 0}}
65
- [Enabled] <a href="/repos/{{$.FullName}}/{{$hook.ID}}/disable">disable</a>
66
- {{else}}
67
- [Disabled] <a href="/repos/{{$.FullName}}/{{$hookname}}/enable">enable</a>
68
- {{end}}
69
- <br>
70
71
- </div>
72
- <div>{{.Description}} {{.Website}}</div>
73
- <hr>
74
75
-{{end}}
76
-`
77
-
78
const RepoPage = `
79
{{define "content"}}
80
<div class="repository file list">
0 commit comments