File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change 44 {{ctx.Locale.Tr "repo.settings.githooks"}}
55 </h4>
66 <div class="ui attached segment">
7- <div class="ui list">
7+ <div class="ui list flex-items-block">
8+ <div class="item"><span>{{ctx.Locale.Tr "repo.settings.githooks_desc"}}</span></div>
9+ {{range .Hooks}}
810 <div class="item">
9- {{ctx.Locale.Tr "repo.settings.githooks_desc"}}
11+ <span class="text {{if .IsActive}}green{{else}}grey{{end}}">{{svg "octicon-dot-fill" 22}}</span>
12+ <span class="gt-ellipsis tw-flex-1">{{.Name}}</span>
13+ <a class="muted tw-p-2" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">{{svg "octicon-pencil"}}</a>
1014 </div>
11- {{range .Hooks}}
12- <div class="item truncated-item-container">
13- <span class="text {{if .IsActive}}green{{else}}grey{{end}} tw-mr-2">{{svg "octicon-dot-fill" 22}}</span>
14- <span class="text truncate tw-flex-1 tw-mr-2">{{.Name}}</span>
15- <a class="muted tw-float-right tw-p-2" href="{{$.RepoLink}}/settings/hooks/git/{{.Name|PathEscape}}">
16- {{svg "octicon-pencil"}}
17- </a>
18- </div>
1915 {{end}}
2016 </div>
2117 </div>
You can’t perform that action at this time.
0 commit comments