From 987dcc5372998adaafb68e00a9a460e955d018e5 Mon Sep 17 00:00:00 2001 From: Unknwon Date: Fri, 20 Nov 2015 02:38:41 -0500 Subject: fix #1383 --- templates/.VERSION | 2 +- templates/repo/release/list.tmpl | 1 + templates/repo/release/new.tmpl | 16 ++++++++++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/.VERSION b/templates/.VERSION index aa65a45b56..8c46b68d5f 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.7.18.1119 Beta \ No newline at end of file +0.7.19.1120 Beta \ No newline at end of file diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 8ecf69ae4d..b8a8dff2f2 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -3,6 +3,7 @@ {{template "repo/header" .}}
{{template "repo/sidebar" .}} + {{template "base/alert" .}}

{{.i18n.Tr "repo.release.releases"}} {{if .IsRepositoryAdmin}} diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 8514b2c8c4..b966eb6c0b 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -68,6 +68,9 @@ + + {{$.i18n.Tr "repo.release.delete_release"}} + {{else}}

+ +{{if .PageIsEditRelease}} + +{{end}} {{template "base/footer" .}} \ No newline at end of file -- cgit v1.2.3