mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 13:47:54 +00:00
fixed template issue with install screen, not using correct base
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user