mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 02:24:03 +00:00
b1cf7f4df1
* Add class to page content to unify top margin Previously pages would individually set this margin but some didn't so content would stick to the header without any space. Resolve this by adding a new class that is added on all pages. The only place where we remove this margin again is on the pages with menu or wrapper in the header. * fix admin notices * fix team pages * fix loading segment on gitgraph for arc-green * fix last missing case Co-authored-by: techknowlogick <techknowlogick@gitea.io>
29 lines
843 B
Handlebars
29 lines
843 B
Handlebars
{{template "base/head" .}}
|
|
<div class="page-content repository settings githooks">
|
|
{{template "repo/header" .}}
|
|
{{template "repo/settings/navbar" .}}
|
|
<div class="ui container">
|
|
{{template "base/alert" .}}
|
|
<h4 class="ui top attached header">
|
|
{{.i18n.Tr "repo.settings.githooks"}}
|
|
</h4>
|
|
<div class="ui attached segment">
|
|
<div class="ui list">
|
|
<div class="item">
|
|
{{.i18n.Tr "repo.settings.githooks_desc" | Str2html}}
|
|
</div>
|
|
{{range .Hooks}}
|
|
<div class="item">
|
|
<span class="text {{if .IsActive}}green{{else}}grey{{end}}">{{svg "octicon-dot-fill"}}</span>
|
|
<span>{{.Name}}</span>
|
|
<a class="text blue ui right" href="{{$.RepoLink}}/settings/hooks/git/{{.Name}}">
|
|
{{svg "octicon-pencil"}}
|
|
</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{template "base/footer" .}}
|