mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
fixed template issue with install screen, not using correct base
This commit is contained in:
parent
d14b465ab6
commit
cda6cef5ec
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue