1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-11-24 08:02:18 +02:00

fixed template issue with install screen, not using correct base

This commit is contained in:
Brad Rydzewski 2014-02-17 12:40:03 -07:00
parent d14b465ab6
commit cda6cef5ec
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
<input type="submit" value="Sign in" />
</div>
<div>
{{ if .Settings }}
{{ if .Settings.OpenInvitations }}
<a href="/signup">request invitation</a> | <a href="/forgot">forgot password</a>
{{ else }}
<a href="/forgot">forgot password</a>

View File

@ -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
}