From 5441182e2f7d73a10771a7c960da12ea6b4e014e Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 18 Jul 2019 19:05:26 +0200 Subject: [PATCH 01/30] add download butons (template from home.tmpl) maybe use a template vor all download butons in future? --- templates/repo/branch/list.tmpl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 7963f8877ff7..fdd46aba96d9 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -23,6 +23,15 @@ {{end}} {{end}} + + + @@ -96,10 +105,24 @@ {{if .IsProtected}} + {{else if .IsDeleted}} {{else}} + {{end}} {{end}} From d9fc4a280843ef9c6a334ebc09e74b7929589170 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Thu, 18 Jul 2019 20:44:10 +0200 Subject: [PATCH 02/30] add $ --- templates/repo/branch/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index fdd46aba96d9..66351c67fcaf 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -24,7 +24,7 @@ {{end}} -