diff options
author | slene <vslene@gmail.com> | 2014-03-15 15:28:06 +0800 |
---|---|---|
committer | slene <vslene@gmail.com> | 2014-03-15 15:28:06 +0800 |
commit | 06deed820d9f48ecf972c8716b17ad58b91ab9b9 (patch) | |
tree | fc94500dd1dd607d1c6470f89abadcba84bbc285 /web.go | |
parent | e251b9bbca35e01060ac3b2ee0bd836dc7719c19 (diff) | |
download | gitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.tar.gz gitea-06deed820d9f48ecf972c8716b17ad58b91ab9b9.zip |
Add HomeLink and AvatarLink to User model. Please use .SignedUser in template.
Diffstat (limited to 'web.go')
-rw-r--r-- | web.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -45,6 +45,7 @@ var AppHelpers template.FuncMap = map[string]interface{}{ "Subtract": base.Subtract, "ActionIcon": base.ActionIcon, "ActionDesc": base.ActionDesc, + "DateFormat": base.DateFormat, } func runWeb(*cli.Context) { |