From ac0741801101d56b6bccd1089ffedf2b3480758b Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Fri, 5 Jun 2020 13:44:54 -0500 Subject: Add compare link to releases (#11752) Signed-off-by: jolheiser Co-authored-by: Lauris BH --- templates/repo/release/list.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index d0b160a1c0..baef2c1cee 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -64,8 +64,8 @@ Ghost {{end}} - {{if .CreatedUnix}}{{TimeSinceUnix .CreatedUnix $.Lang}}{{end}} - {{$.i18n.Tr "repo.release.ahead" .NumCommitsBehind .Target | Str2html}} + {{if .CreatedUnix}}{{TimeSinceUnix .CreatedUnix $.Lang}} | {{end}} + {{$.i18n.Tr "repo.release.ahead.commits" .NumCommitsBehind | Str2html}} {{$.i18n.Tr "repo.release.ahead.target" .Target}}

{{Str2html .Note}} -- cgit v1.2.3