diff options
Diffstat (limited to 'templates/repo/commits_table.tmpl')
-rw-r--r-- | templates/repo/commits_table.tmpl | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index e33ffcdaa3..b5bd8f33d0 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -61,21 +61,7 @@ </td> <td class="message collapsing"> <span class="has-emoji{{if gt .ParentCount 1}} grey text{{end}}">{{RenderCommitMessage false .Summary $.RepoLink $.Repository.ComposeMetas}}</span> - {{if eq .State "pending"}} - <i class="commit-status circle icon yellow"></i> - {{end}} - {{if eq .State "success"}} - <i class="commit-status check icon green"></i> - {{end}} - {{if eq .State "error"}} - <i class="commit-status warning icon red"></i> - {{end}} - {{if eq .State "failure"}} - <i class="commit-status remove icon red"></i> - {{end}} - {{if eq .State "warning"}} - <i class="commit-status warning sign icon yellow"></i> - {{end}} + {{template "repo/commit_status" .Status}} </td> <td class="grey text right aligned">{{TimeSince .Author.When $.Lang}}</td> </tr> |