|
|
|
|
@ -320,25 +320,27 @@ struct InscriptionManagerView: View { |
|
|
|
|
.symbolVariant(filterMode == .all ? .none : .fill) |
|
|
|
|
} |
|
|
|
|
Menu { |
|
|
|
|
if tournament.inscriptionClosed() == false { |
|
|
|
|
Menu { |
|
|
|
|
_sortingTypePickerView() |
|
|
|
|
} label: { |
|
|
|
|
Text("Méthode de sélection") |
|
|
|
|
Text(tournament.teamSorting.localizedLabel()) |
|
|
|
|
} |
|
|
|
|
Divider() |
|
|
|
|
rankingDateSourcePickerView(showDateInLabel: true) |
|
|
|
|
|
|
|
|
|
Divider() |
|
|
|
|
Button { |
|
|
|
|
tournament.lockRegistration() |
|
|
|
|
_save() |
|
|
|
|
} label: { |
|
|
|
|
Label("Clôturer", systemImage: "lock") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
if tournament.isAnimation() == false { |
|
|
|
|
if tournament.inscriptionClosed() == false { |
|
|
|
|
Menu { |
|
|
|
|
_sortingTypePickerView() |
|
|
|
|
} label: { |
|
|
|
|
Text("Méthode de sélection") |
|
|
|
|
Text(tournament.teamSorting.localizedLabel()) |
|
|
|
|
} |
|
|
|
|
Divider() |
|
|
|
|
rankingDateSourcePickerView(showDateInLabel: true) |
|
|
|
|
|
|
|
|
|
Divider() |
|
|
|
|
Button { |
|
|
|
|
tournament.lockRegistration() |
|
|
|
|
_save() |
|
|
|
|
} label: { |
|
|
|
|
Label("Clôturer", systemImage: "lock") |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
Divider() |
|
|
|
|
|
|
|
|
|
Section { |
|
|
|
|
|