From 9a12f678556ef05c3f1af8a222690ee0ade88296 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Thu, 23 Jan 2020 17:11:57 -0500 Subject: templates/repo/header: Move topics editor to header --- templates/repo/header.tmpl | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) (limited to 'templates/repo/header.tmpl') diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index fb48ce3..f79a538 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -55,13 +55,30 @@ - -
+
{{range $.Topics}}{{.Name}}{{end}} {{if and $.Permission.IsAdmin (not .IsArchived)}}{{$.i18n.Tr "repo.topic.manage_topics"}}{{end}}
- + {{if and $.Permission.IsAdmin (not .IsArchived)}} + + {{end}}
{{end}} -- cgit v1.2.3