From cda6cef5ec9751952a3a093297ce438520d4af79 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Mon, 17 Feb 2014 12:40:03 -0700 Subject: [PATCH] fixed template issue with install screen, not using correct base --- pkg/template/pages/login.html | 2 +- pkg/template/template.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/template/pages/login.html b/pkg/template/pages/login.html index 4967f119c..2fdcc7a3f 100644 --- a/pkg/template/pages/login.html +++ b/pkg/template/pages/login.html @@ -10,7 +10,7 @@
- {{ if .Settings }} + {{ if .Settings.OpenInvitations }} request invitation | forgot password {{ else }} forgot password diff --git a/pkg/template/template.go b/pkg/template/template.go index d5ff5d4ca..61ecbe11a 100644 --- a/pkg/template/template.go +++ b/pkg/template/template.go @@ -104,7 +104,7 @@ func init() { // HACK: choose which base template to use FOR THE RECORD I // don't really like this, but it works for now. var baseTemplate = base - if i < 7 { + if i < 8 { baseTemplate = form }