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:
parent
d14b465ab6
commit
cda6cef5ec
@ -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>
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user