fix: add methods of status

This commit is contained in:
Jason Song
2022-11-25 17:48:46 +08:00
parent 25fe4f6d9e
commit 9292e9ebdb
2 changed files with 26 additions and 2 deletions
+2 -2
View File
@@ -1,4 +1,4 @@
{{if .IsPending}}
{{if .IsWaiting}}
<i class="commit-status circle icon gray"></i>
{{end}}
{{if .IsRunning}}
@@ -7,6 +7,6 @@
{{if .IsSuccess}}
<i class="commit-status check icon green"></i>
{{end}}
{{if .IsFailed}}
{{if .IsFailure}}
<i class="commit-status warning icon red"></i>
{{end}}