From cd83cba6e4667dfeffeff22cede56486a5722117 Mon Sep 17 00:00:00 2001 From: Gitea Date: Thu, 9 Sep 2021 17:39:32 +0800 Subject: [PATCH] fix #386 --- templates/repo/datasets/dataset_list.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/repo/datasets/dataset_list.tmpl b/templates/repo/datasets/dataset_list.tmpl index 582c73501..3c7f0b3ce 100755 --- a/templates/repo/datasets/dataset_list.tmpl +++ b/templates/repo/datasets/dataset_list.tmpl @@ -25,11 +25,11 @@
{{svg "octicon-file-directory" 16}}
- -
- -
- + {{if $.IsSigned}} +
+ +
+ {{end}} {{if $.Permission.CanWrite $.UnitTypeDatasets}} {{if $.Repository.IsPrivate}}