diff options
Diffstat (limited to 'modules/template/template.go')
-rw-r--r-- | modules/template/template.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/template/template.go b/modules/template/template.go index 52ec0545..d2f82f0d 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -229,11 +229,11 @@ type Actioner interface { // and returns a icon class name. func ActionIcon(opType int) string { switch opType { - case 1, 8: // Create, transfer repository + case 1, 8: // Create and transfer repository return "repo" case 5, 9: // Commit repository return "git-commit" - case 6: // Create issue + case 6, 13: // Create and reopen issue return "issue-opened" case 7: // New pull request return "git-pull-request" @@ -241,6 +241,8 @@ func ActionIcon(opType int) string { return "comment" case 11: // Merge pull request return "git-merge" + case 12: // Close issue + return "issue-closed" default: return "invalid type" } |