mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-16 08:24:36 -04:00
New repo: Rework initialization
- only show settings when ticked - only offer README selection when there are multiple options
This commit is contained in:
parent
4cde56906e
commit
8d32ca32c2
4 changed files with 67 additions and 58 deletions
|
@ -43,7 +43,7 @@ func assertRepoCreateForm(t *testing.T, htmlDoc *HTMLDoc, owner *user_model.User
|
|||
// the template menu is loaded client-side, so don't assert the option exists
|
||||
assert.Equal(t, templateID, htmlDoc.GetInputValueByName("repo_template"), "Unexpected repo_template selection")
|
||||
|
||||
for _, name := range []string{"issue_labels", "gitignores", "license", "readme", "object_format_name"} {
|
||||
for _, name := range []string{"issue_labels", "gitignores", "license", "object_format_name"} {
|
||||
htmlDoc.AssertDropdownHasOptions(t, name)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue