From 24b0c1b9d2d552a0e1abd73eef0a83b6c0c2fc79 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 10 Jan 2019 20:35:59 +0000 Subject: [PATCH] Add modified repo header template This removes the activity link, which uselessly shows PR and Issue activity, as well as the fork, start and watch buttons. Change-Id: Id40eae211ec9b5165cfc0e38e668ce962cf98d9a --- .../gitea/custom/templates/repo/header.tmpl | 72 +++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 docker/gitea/custom/templates/repo/header.tmpl diff --git a/docker/gitea/custom/templates/repo/header.tmpl b/docker/gitea/custom/templates/repo/header.tmpl new file mode 100644 index 0000000000..0b5dac777f --- /dev/null +++ b/docker/gitea/custom/templates/repo/header.tmpl @@ -0,0 +1,72 @@ +
+{{with .Repository}} +
+
+
+ +
+
+
+{{end}} +{{if not .IsDiffCompare}} +
+ +
+
+{{else}} +
+{{end}} +