From 83b5464f47907e3612808e1d7fd936a84f9cf62f Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 17 Dec 2024 13:29:15 +0000 Subject: [PATCH] Removed edit buttons and stuff. --- data/gitea/templates/repo/view_file.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/gitea/templates/repo/view_file.tmpl b/data/gitea/templates/repo/view_file.tmpl index 4763b3a..be53ea4 100644 --- a/data/gitea/templates/repo/view_file.tmpl +++ b/data/gitea/templates/repo/view_file.tmpl @@ -47,7 +47,7 @@ {{svg "octicon-file" 15}} {{end}} - {{if not .ReadmeInList}} + {{if and (not .ReadmeInList) (not .IsSigned )}}
{{ctx.Locale.Tr "repo.file_raw"}} {{if not .IsViewCommit}}