27 Commits

Author SHA1 Message Date
cf93fc10fd fix admin_event_status depreciations 2018-12-20 12:38:42 +01:00
9f168a3a3c fix new events page depreciations 2018-12-20 11:36:39 +01:00
c8fcab4d1d fix routes and translatable string in admin prototype
ref #12
ref #13
ref #14
ref #15
2016-06-10 17:07:50 +02:00
5bcff0cba4 allow to add single participation with persons_ids 2016-05-17 21:04:14 +02:00
54ac8d052f fix bug on redirection when all required participation already exists
When we request multiple participations on an event, and all people already
participate on the event, the controller redirected to a route which provoked
a bad request error. Now, we redirect to the view route.
2016-05-17 20:41:03 +02:00
78c53fe7b0 [feature] allow to edit multiple participations at once
ref #7
2016-04-12 22:40:11 +02:00
c1b9069138 fix the possibility to add multiple participation
ref #6
2016-04-11 23:59:14 +02:00
9459d7a287 Allow to add multiple participation
The participationController accept a new parameter : `persons_ids`,
which must receive a comma-separated list of person ids. A participation
will be create for all those peoples.

The `new` and `create` actions does not allow to receive both
`person_id` and `persons_ids`.

Tests are added.

ref #6
2016-04-09 23:45:07 +02:00
93a5568aee splitting function in order to prepare single/multiple adding association
ref #6
2016-04-07 23:29:22 +02:00
Marc Ducobu
9cdbd8303a Removing code for Deleting an event 2016-03-25 10:10:15 +01:00
c9ce3aca96 some improvement to the Update / create event pages
- i18n of all the form
- add a title to each page
- chill layout of each page
- add flash message on successfully creation and update action

For the update page, (see #23), the user is not allowed to update
the center

close #23
close #2
2016-03-24 23:00:45 +01:00
Marc Ducobu
cf7f8a929b Allow the modification of event + adding the prefix chill_even to all the route 2016-03-24 18:03:45 +01:00
Marc Ducobu
fdb2c094a6 Removing IndexAction from Event controller 2016-03-24 17:39:01 +01:00
8db8c8925c add a link into section menu
Currently, the main link in section menu redirect
to a search which display the last events

ref #10
2016-03-24 15:19:23 +01:00
3ac192d34c remove empty default controller 2016-03-24 14:30:08 +01:00
75266361b2 Merge remote-tracking branch 'origin/master' 2016-03-24 14:19:09 +01:00
993882e925 feature: update an existing participation
The update allow to modify the status and role of a participation.

ref #8
2016-03-24 14:18:03 +01:00
Marc Ducobu
ccb4d6cfb5 Correction of routing : id -> event_id 2016-03-24 11:29:17 +01:00
627b9fb08f add the possibility to add a participation of a person to an event
ref #5
2016-03-24 01:44:32 +01:00
167a147f52 Merge remote-tracking branch 'origin/master' 2016-03-23 23:18:11 +01:00
e2decee8cb add a form to make a ling with 'add a participant' page 2016-03-23 21:57:42 +01:00
Marc Ducobu
2cb4ee8bb9 Merging 2016-03-23 18:22:17 +01:00
Marc Ducobu
4fe31185df Good Center - Circle suggested 2016-03-23 18:19:48 +01:00
90cbb78621 add a "view page" for event
ref #3
2016-03-22 21:19:16 +01:00
Marc Ducobu
4d02314770 Event CRUD generated 2016-03-22 17:16:19 +01:00
9512528018 add basic crud for admin 2016-03-18 11:34:25 +01:00
c43e7daefe initial commit 2016-03-18 10:28:26 +01:00