From 19cf0ea4389a632740e2f18769e7c0a483b60c68 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Tue, 30 Jun 2020 04:58:26 -0400 Subject: templates: 1.11.4 -> 1.11.8 --- README.md | 2 +- templates/base/head.tmpl | 8 ++++++-- templates/repo/header.tmpl | 40 +++++++++++++++++++++++----------------- 3 files changed, 30 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 0cc9b6f..64448ef 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # Thedro's Custom Gitea Templates -Compatible with Gitea version 1.11.4 +Compatible with Gitea version 1.11.8 diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index 237f0e9..f466c0d 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -84,7 +84,11 @@ for the JavaScript code in this page. */`}} - + @@ -156,7 +160,7 @@ {{else}} - + {{end}} diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index e6e2350..8606696 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -21,22 +21,28 @@ {{if not .IsBeingCreated}}
- - +
+ {{$.CsrfTokenHtml}} +
+ + + {{.NumWatches}} + +
+
+
+ {{$.CsrfTokenHtml}} +
+ + + {{.NumStars}} + +
+
{{if and (not .IsEmpty) ($.Permission.CanRead $.UnitTypeCode)}}