aboutsummaryrefslogtreecommitdiff
path: root/modules/template/template.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2017-02-25 03:35:26 -0500
committerUnknwon <u@gogs.io>2017-02-27 22:48:18 -0500
commitb06f2997489d58cc5a4375044e378c0565ea09d4 (patch)
treefd02710adc4ed574fe28aa173b2f02ac68bd6568 /modules/template/template.go
parentbeea014343251fc9f379f996553c0b8030723464 (diff)
webhook: add fork event
Diffstat (limited to 'modules/template/template.go')
-rw-r--r--modules/template/template.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/template/template.go b/modules/template/template.go
index abf09491..acdfab8d 100644
--- a/modules/template/template.go
+++ b/modules/template/template.go
@@ -262,6 +262,8 @@ func ActionIcon(opType int) string {
return "git-branch"
case 17, 18: // Delete branch or tag
return "alert"
+ case 19: // Fork a repository
+ return "repo-forked"
default:
return "invalid type"
}