fix pipeline and add changie

This commit is contained in:
Julie Lenaerts 2024-05-08 10:28:14 +02:00
parent f7f7e1cb1d
commit 30955752c3
2 changed files with 6 additions and 3 deletions

View File

@ -0,0 +1,5 @@
kind: UX
body: Adjust certain graphical issues for better user experience
time: 2024-05-08T10:27:57.220873296+02:00
custom:
Issue: "266"

View File

@ -21,7 +21,6 @@ use Chill\MainBundle\Form\Type\CommentType;
use Chill\MainBundle\Form\Type\PickUserDynamicType; use Chill\MainBundle\Form\Type\PickUserDynamicType;
use Chill\MainBundle\Form\Type\PickUserLocationType; use Chill\MainBundle\Form\Type\PickUserLocationType;
use Chill\MainBundle\Form\Type\ScopePickerType; use Chill\MainBundle\Form\Type\ScopePickerType;
use Chill\MainBundle\Form\Type\UserPickerType;
use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\MoneyType; use Symfony\Component\Form\Extension\Core\Type\MoneyType;
use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormBuilderInterface;
@ -48,7 +47,6 @@ class EventType extends AbstractType
]) ])
->add('moderator', PickUserDynamicType::class, [ ->add('moderator', PickUserDynamicType::class, [
'label' => 'Pick a moderator', 'label' => 'Pick a moderator',
]) ])
->add('location', PickUserLocationType::class, [ ->add('location', PickUserLocationType::class, [
'label' => 'event.fields.location', 'label' => 'event.fields.location',
@ -64,7 +62,7 @@ class EventType extends AbstractType
], ],
'allow_add' => true, 'allow_add' => true,
'allow_delete' => true, 'allow_delete' => true,
'delete_empty' => fn(StoredObject $storedObject): bool => '' === $storedObject->getFilename(), 'delete_empty' => fn (StoredObject $storedObject): bool => '' === $storedObject->getFilename(),
'button_remove_label' => 'event.form.remove_document', 'button_remove_label' => 'event.form.remove_document',
'button_add_label' => 'event.form.add_document', 'button_add_label' => 'event.form.add_document',
]) ])