From 1770a25c8a209d73beb2efe69be91b134ce4c969 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Fri, 19 Jun 2020 15:26:06 -0700 Subject: [PATCH] Small repo template cleanups in Gitea This improves the comments around why we've cleaned up some repo functionality and also removes the activity button. The activity data gitea is aware of is not a complete picture and is likely to be misleading. Avoid misleading people by removing that button. Change-Id: If7546f95421efdd897f2949e4f89a08d53289ce8 --- docker/gitea/custom/templates/repo/header.tmpl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl index 381bfadfc6..4a5e5e9c17 100644 --- a/docker/gitea/custom/templates/repo/header.tmpl +++ b/docker/gitea/custom/templates/repo/header.tmpl @@ -49,7 +49,7 @@ {{if .IsFork}}
{{$.i18n.Tr "repo.forked_from"}} {{SubStr .BaseRepo.RelLink 1 -1}}
{{end}} {{if .IsGenerated}}
{{$.i18n.Tr "repo.generated_from"}} {{SubStr .TemplateRepo.RelLink 1 -1}}
{{end}} - {{template "custom/extra_tabs" .}}