77b7333fea
Allow encoding of an activity with configuration preset durations
...
fix #11
The activity form allow to receive pre-configured activity durations.
Those duration can be configured through the option
chill_activity.form.time_duration :
```yaml
chill_activity:
form:
time_duration:
- { label: '12 minutes', seconds: 720 }
# - ...
```
If a pre-existing activity receives a different time, the time is added
to the list of pre-configured duration time.
2016-03-09 14:31:42 +01:00
4daa44ed57
implements role declaration in activity
...
close #610 @0h15
2015-09-21 23:08:32 +02:00
7675f0e250
add grouping and fix localization of trans. string in ActivityReason
...
the label of activity type is now handled by translatableStringHelper.
Reasons are also grouped by categories.
This is thanks to PR https://github.com/symfony/symfony/pull/14050
2015-07-06 00:57:53 +02:00
c4b2bfa8ff
add fixtures into timeline
2015-07-05 11:20:43 +02:00
eb11570541
add acl to activity + bootstrap php
2015-07-03 21:36:05 +02:00
Marc Ducobu
9c565063af
Displaying ActivtyReason & ActivityType into activity creation form
2015-07-03 10:15:50 +02:00
be78c25091
improve activity form
...
- create as a service with required depedencies (required for scope)
- add scope
- fix date show
- adapt controller accordingly
2015-07-02 23:36:43 +02:00
Marc Ducobu
5bd8b22569
Activity Reasons, Activity Reasons Category, Activity Types in Translatable strings
2015-07-02 11:33:16 +02:00
Marc Ducobu
452f3fba86
skeleton of the bundle
2015-06-30 22:07:55 +02:00