cd054fe6ef
when reasons are not in a category
2021-02-09 17:48:49 +01:00
b2048c0f84
rename deprecated Symfony using
2020-09-06 21:15:32 +02:00
5f8037433d
fix sf4 deprecated: remove choices_as_values form option
2020-07-22 17:05:24 +02:00
a9349becf7
replace dropdown for selecting reasons and use chillEntity for reason rendering
2020-04-21 14:41:40 +02:00
6e8f72f5cc
fix error in user loading and validate scope/user consistency
2018-08-29 23:18:37 +02:00
nobohan
96e1b1db4d
fix deprecations: getName -> getBlockPrefix in Forms
2018-04-09 10:06:34 +02:00
nobohan
5aa87ffdb4
fix deprecations: use fqcn + change 'property' in 'choice_label'
2018-04-05 15:04:47 +02:00
nobohan
478e1c505d
fix deprecation: no more passing of type instances
2018-04-05 11:45:58 +02:00
nobohan
6327d25783
fix deprecations: use fqcn in the activity bundle
2018-04-05 10:34:41 +02:00
nobohan
b6f9d1156e
fix deprecations: use fqcn for textarea
2018-04-04 18:24:36 +02:00
nobohan
4143e773b6
fix deprecations: use choices_as_values=true and flip content of the choice options
2018-04-04 17:54:17 +02:00
nobohan
95f32a8fcb
fix deprecations: setDefaultOptions -> configureOptions
2018-04-04 17:04:25 +02:00
5dda66342a
add an "active" field on activity type
2016-11-14 23:00:13 +01:00
1ab0b95e74
order the type alphabetically
...
Improve also the form "TranslatableActivityType" to use the
TranslatableStringHelper.
2016-03-09 20:54:38 +01:00
97df048dfb
add a placeholder in form. Force to choose a type
...
fix #5
2016-03-09 15:17:54 +01:00
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