add alert for not-in-household and actions in page

accompanyingCourse/summary

* alert for people not in household for each accompanying course;
* style for action in alert
* form to members editor
This commit is contained in:
2021-06-14 11:34:05 +02:00
parent 1df759e970
commit c40019da8f
11 changed files with 118 additions and 11 deletions

View File

@@ -36,8 +36,8 @@ class MaxHolderValidator extends ConstraintValidator
$this->context->buildViolation($msg)
->setParameters([
'start' => $start->format('d-m-Y'), // TODO fix when MessageParameter works with timezone
'end' => $end === null ? null : $end->format('d-m-Y')
'{{ start }}' => $start->format('d-m-Y'), // TODO fix when MessageParameter works with timezone
'{{ end }}' => $end === null ? null : $end->format('d-m-Y')
])
->addViolation();
}