Skip to content

Commit b009527

Browse files
committed
fix webhook list
1 parent c8e3fbf commit b009527

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

templates/repo/settings/webhook/base_list.tmpl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,12 @@
88
</div>
99
</h4>
1010
<div class="ui attached segment">
11-
<div class="ui list">
12-
<div class="item">
13-
{{.Description}}
14-
</div>
11+
<div class="ui list flex-items-block">
12+
<div class="item"><span>{{.Description}}</span></div>
1513
{{range .Webhooks}}
16-
<div class="item truncated-item-container">
17-
<span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}} tw-mr-2">{{svg "octicon-dot-fill" 22}}</span>
18-
<div class="text truncate tw-flex-1 tw-mr-2">
14+
<div class="item">
15+
<span class="text {{if eq .LastStatus 1}}green{{else if eq .LastStatus 2}}red{{else}}grey{{end}}">{{svg "octicon-dot-fill" 22}}</span>
16+
<div class="gt-ellipsis tw-flex-1">
1917
<a title="{{.URL}}" href="{{$.BaseLink}}/{{.ID}}">{{.URL}}</a>
2018
</div>
2119
<a class="muted tw-p-2" href="{{$.BaseLink}}/{{.ID}}">{{svg "octicon-pencil"}}</a>

0 commit comments

Comments
 (0)