diff options
author | Unknwon <u@gogs.io> | 2015-11-16 11:39:48 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-11-16 11:39:48 -0500 |
commit | bb1fbe4e70351afccf2eb57863ed3022a59bf43e (patch) | |
tree | 1b51baa043c73d2cccbfb2f355f62e3710214716 /modules | |
parent | cceb3364bbc511f36d235e10769a654374297f7b (diff) | |
download | gitea-bb1fbe4e70351afccf2eb57863ed3022a59bf43e.tar.gz gitea-bb1fbe4e70351afccf2eb57863ed3022a59bf43e.zip |
octicon fix in feeds
Diffstat (limited to 'modules')
-rw-r--r-- | modules/template/template.go | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/modules/template/template.go b/modules/template/template.go index 960eb554c3..712185576c 100644 --- a/modules/template/template.go +++ b/modules/template/template.go @@ -210,14 +210,18 @@ 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, transfer repository return "repo" - case 5, 9: // Commit repository. + case 5, 9: // Commit repository return "git-commit" - case 6: // Create issue. + case 6: // Create issue return "issue-opened" - case 10: // Comment issue. + case 7: // New pull request + return "git-pull-request" + case 10: // Comment issue return "comment" + case 11: // Merge pull request + return "git-merge" default: return "invalid type" } |