diff options
author | Unknwon <u@gogs.io> | 2016-03-05 12:58:51 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-05 12:58:51 -0500 |
commit | 414eb22ef97d664da790a348dab403961f365976 (patch) | |
tree | 80c897880fbcad21225c4faa9198e0d82db3dca3 /modules/template | |
parent | a2f13eae559c71d35662b7767a8b8347a26eb53e (diff) | |
download | gitea-414eb22ef97d664da790a348dab403961f365976.tar.gz gitea-414eb22ef97d664da790a348dab403961f365976.zip |
#1597 fix activitity feeds for pull requests
Diffstat (limited to 'modules/template')
-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 d2f82f0d27..da7f20c585 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -233,7 +233,7 @@ func ActionIcon(opType int) string { return "repo" case 5, 9: // Commit repository return "git-commit" - case 6, 13: // Create and reopen issue + case 6: // Create issue return "issue-opened" case 7: // New pull request return "git-pull-request" @@ -241,8 +241,10 @@ func ActionIcon(opType int) string { return "comment" case 11: // Merge pull request return "git-merge" - case 12: // Close issue + case 12, 14: // Close issue or pull request return "issue-closed" + case 13, 15: // Reopen issue or pull request + return "issue-reopened" default: return "invalid type" } |