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 --- templates/base/head.tmpl | 8 ++++++-- templates/repo/header.tmpl | 40 +++++++++++++++++++++++----------------- 2 files changed, 29 insertions(+), 19 deletions(-) (limited to 'templates') 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)}}