summaryrefslogtreecommitdiffstats
path: root/templates/repo/release
diff options
context:
space:
mode:
authorBenjamin Peng <j100002ben@gmail.com>2014-09-16 15:55:41 +0800
committerBenjamin Peng <j100002ben@gmail.com>2014-09-16 15:55:41 +0800
commitcff3ca23a57230c21e685ab02aab85f07bd25fe2 (patch)
treef7f91eb66ce8f8d892ab68d8af3c3b870c3c8f0a /templates/repo/release
parent0f037b430a99a10cc9cff6f04dd1cf197ecc04ba (diff)
downloadgitea-cff3ca23a57230c21e685ab02aab85f07bd25fe2.tar.gz
gitea-cff3ca23a57230c21e685ab02aab85f07bd25fe2.zip
Fix TimeSince arguments error.
Diffstat (limited to 'templates/repo/release')
-rw-r--r--templates/repo/release/list.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index 0f02508fb9..b9f462588d 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -29,7 +29,7 @@
<p class="info">
<span class="author"><img class="avatar" src="{{.Publisher.AvatarLink}}" alt="" width="20">&nbsp;&nbsp;
<a href="/user/{{.Publisher.Name}}">{{.Publisher.Name}}</a></span>
- {{if .Created}}<span class="time">{{TimeSince .Created}}</span>{{end}}
+ {{if .Created}}<span class="time">{{TimeSince .Created $.Lang}}</span>{{end}}
<span class="ahead"><strong>{{.NumCommitsBehind}}</strong> commits to {{.Target}} since this release</span>
</p>
<div class="markdown desc">