From eb7e14399d8606427238c6bcf78eb85996eb2cd2 Mon Sep 17 00:00:00 2001 From: davrot Date: Mon, 27 Jan 2025 19:15:57 +0000 Subject: [PATCH] =?UTF-8?q?Dateien=20nach=20=E2=80=9Etemplates/repo?= =?UTF-8?q?=E2=80=9C=20hochladen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/repo/home.tmpl | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl index 7b6b6cea71..4f39c2362a 100644 --- a/templates/repo/home.tmpl +++ b/templates/repo/home.tmpl @@ -112,17 +112,16 @@ {{$p := index $.Paths $i}}{{$v}} {{- end -}} {{- end -}} - - {{if (not .IsViewFile)}} - {{if and .CanDeleteFile (not .IsBlame)}} - {{svg "octicon-trash"}} - {{else}} - {{svg "octicon-trash"}} - {{end}} - {{end}} - {{end}} + + {{if (not .IsViewFile)}} + {{if and .CanDeleteFile (not .IsBlame)}} + {{svg "octicon-trash"}} + {{else}} + {{svg "octicon-trash"}} + {{end}} + {{end}}