summaryrefslogtreecommitdiffstats
path: root/web.go
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-15 00:50:51 -0400
committerUnknown <joe2010xtmf@163.com>2014-03-15 00:50:51 -0400
commitadb17791bdb94d22cdc571d7f633846c6fe3d938 (patch)
tree8d9f9ffa487e63874e21d42ee3cc8c4a6c3dc85a /web.go
parent2289ff20bf40e2adaa096aeac80837c69c2f01c3 (diff)
downloadgitea-adb17791bdb94d22cdc571d7f633846c6fe3d938.tar.gz
gitea-adb17791bdb94d22cdc571d7f633846c6fe3d938.zip
Add basic render of public act
Diffstat (limited to 'web.go')
-rw-r--r--web.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/web.go b/web.go
index 7d04fc60e8..60992f4541 100644
--- a/web.go
+++ b/web.go
@@ -40,8 +40,11 @@ var AppHelpers template.FuncMap = map[string]interface{}{
"AppVer": func() string {
return APP_VER
},
- "TimeSince": base.TimeSince,
- "Subtract": base.Subtract,
+ "str2html": base.Str2html,
+ "TimeSince": base.TimeSince,
+ "Subtract": base.Subtract,
+ "ActionIcon": base.ActionIcon,
+ "ActionDesc": base.ActionDesc,
}
func runWeb(*cli.Context) {