diff options
Diffstat (limited to 'templates/mail/release.tmpl')
-rw-r--r-- | templates/mail/release.tmpl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/mail/release.tmpl b/templates/mail/release.tmpl index a95647105c..931c0d1b54 100644 --- a/templates/mail/release.tmpl +++ b/templates/mail/release.tmpl @@ -31,12 +31,14 @@ <br> {{.locale.Tr "mail.release.downloads"}} <ul> + {{if not .DisableDownloadSourceArchives}} <li> <a href="{{.Release.Repo.Link}}/archive/{{.Release.TagName | PathEscapeSegments}}.zip" rel="nofollow"><strong>{{.locale.Tr "mail.release.download.zip"}}</strong></a> </li> <li> <a href="{{.Release.Repo.Link}}/archive/{{.Release.TagName | PathEscapeSegments}}.tar.gz" rel="nofollow"><strong>{{.locale.Tr "mail.release.download.targz"}}</strong></a> </li> + {{end}} {{if .Release.Attachments}} {{range .Release.Attachments}} <li> |