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
c60d6acf97
An activity may have multiple reasons
...
The relationship between Activity and Reasons is now many-to-many.
Some improvement in show activity layout.
refs #4 #7
2016-02-22 14:48:35 +01:00
Marc Ducobu
0bee5e46db
Only active reason are displayed in the activity encoding form
2015-10-02 15:16:37 +02:00
Marc Ducobu
e8f8c8e52d
Admin form : only display active ActivityReasonCategory in the ActivityReason form
2015-10-02 14:41:52 +02:00
Marc Ducobu
4bd5d70fb2
Remove required in form #622
2015-09-28 14:08:03 +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
943032a918
layout of time widget
2015-07-05 23:23:29 +02:00
Marc Ducobu
5af14b2307
time type for durationTime in form
2015-07-04 21:22:56 +02:00
Marc Ducobu
9c565063af
Displaying ActivtyReason & ActivityType into activity creation form
2015-07-03 10:15:50 +02:00
Marc Ducobu
a0798c014e
mergin conflict
2015-07-03 09:48:39 +02:00
Marc Ducobu
faffdee1ab
Integration code generated
2015-07-03 09:40:30 +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
86b24f58ac
First step of integration code generated
2015-07-02 15:41:11 +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
5738de5033
Adding generated files
2015-07-01 13:34:14 +02:00