From 88805f1eec3be87307b81805dc997fe981a28649 Mon Sep 17 00:00:00 2001 From: Gerben Date: Tue, 11 Sep 2018 21:31:59 +0200 Subject: [PATCH] Incorporate some changes from upstream (up to e64aa18) --- templates/base/footer.tmpl | 4 +++- templates/base/head.tmpl | 4 +++- templates/repo/branch/list.tmpl | 6 ++---- templates/repo/header.tmpl | 6 +++--- templates/repo/view_list.tmpl | 4 ++-- templates/user/profile.tmpl | 2 +- 6 files changed, 14 insertions(+), 12 deletions(-) diff --git a/templates/base/footer.tmpl b/templates/base/footer.tmpl index 47d642d..ac93779 100644 --- a/templates/base/footer.tmpl +++ b/templates/base/footer.tmpl @@ -39,6 +39,9 @@ {{if .RequireDropzone}} {{end}} +{{if .RequireU2F}} + +{{end}} {{if .RequireTribute}} @@ -107,4 +110,3 @@ {{template "custom/footer" .}} - diff --git a/templates/base/head.tmpl b/templates/base/head.tmpl index b34fd7d..8f5d725 100644 --- a/templates/base/head.tmpl +++ b/templates/base/head.tmpl @@ -121,6 +121,9 @@ {{end}} {{end}} +{{if ne DefaultTheme "gitea"}} + +{{end}} {{template "custom/header" .}} @@ -135,4 +138,3 @@ */}} - diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index cd6afce..2ef96de 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -69,12 +69,10 @@ diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 6f872b5..01ee295 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -4,7 +4,7 @@