diff options
author | Benjamin Peng <j100002ben@gmail.com> | 2014-09-16 15:55:41 +0800 |
---|---|---|
committer | Benjamin Peng <j100002ben@gmail.com> | 2014-09-16 15:55:41 +0800 |
commit | cff3ca23a57230c21e685ab02aab85f07bd25fe2 (patch) | |
tree | f7f91eb66ce8f8d892ab68d8af3c3b870c3c8f0a /templates/repo/release | |
parent | 0f037b430a99a10cc9cff6f04dd1cf197ecc04ba (diff) | |
download | gitea-cff3ca23a57230c21e685ab02aab85f07bd25fe2.tar.gz gitea-cff3ca23a57230c21e685ab02aab85f07bd25fe2.zip |
Fix TimeSince arguments error.
Diffstat (limited to 'templates/repo/release')
-rw-r--r-- | templates/repo/release/list.tmpl | 2 |
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"> <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"> |