From 45c264f681e3f7e1a22a191029836a690959aac3 Mon Sep 17 00:00:00 2001 From: Alberto González Palomo Date: Wed, 10 Jan 2018 07:19:50 +0100 Subject: Templates for extra links in top navbar and repo tool tabs. (#3308) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit These templates add content to the top navbar and to the repository page. This way we do not have to copy and modify the whole template, and re-modify it after upgrading Gitea if it changes. Signed-off-by: Alberto González Palomo --- templates/repo/header.tmpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates/repo') diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index c83505ac96..db5b6c7f0c 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -89,6 +89,8 @@ {{end}} + {{template "custom/extra_tabs" .}} + {{if .IsRepositoryAdmin}}