|
|
|
@ -41,13 +41,12 @@ |
|
|
|
|
<div class="item"> |
|
|
|
|
{{.Description | Str2html}} |
|
|
|
|
</div> |
|
|
|
|
<div class="ui divider"></div> |
|
|
|
|
{{range .Webhooks}} |
|
|
|
|
<div class="item p-2"> |
|
|
|
|
<div class="item"> |
|
|
|
|
{{if eq .LastStatus 1}} |
|
|
|
|
<span class="text green">{{svg "octicon-check"}}</span> |
|
|
|
|
<span class="text green mr-3">{{svg "octicon-check"}}</span> |
|
|
|
|
{{else if eq .LastStatus 2}} |
|
|
|
|
<span class="text red">{{svg "octicon-alert"}}</span> |
|
|
|
|
<span class="text red mr-3">{{svg "octicon-alert"}}</span> |
|
|
|
|
{{else}} |
|
|
|
|
<span class="text grey mr-3">{{svg "octicon-dot-fill"}}</span> |
|
|
|
|
{{end}} |
|
|
|
|