Merge branch 'master' into export

This commit is contained in:
2016-04-15 23:21:34 +02:00
23 changed files with 1410 additions and 73 deletions

View File

@@ -16,13 +16,14 @@ Chill\ActivityBundle\Entity\Activity:
type: text
attendee:
type: boolean
manyToMany:
reasons:
targetEntity: Chill\ActivityBundle\Entity\ActivityReason
manyToOne:
user:
targetEntity: Chill\MainBundle\Entity\User
scope:
targetEntity: Chill\MainBundle\Entity\Scope
reason:
targetEntity: Chill\ActivityBundle\Entity\ActivityReason
type:
targetEntity: Chill\ActivityBundle\Entity\ActivityType
person:

View File

@@ -16,7 +16,8 @@ services:
chill.activity.form.type.translatableactivitytype:
class: Chill\ActivityBundle\Form\Type\TranslatableActivityType
arguments:
- "@request_stack"
- "@chill.main.helper.translatable_string"
- "@chill_activity.repository.activity_type"
tags:
- { name: form.type, alias: translatable_activity_type }
@@ -27,6 +28,7 @@ services:
- "@chill.main.security.authorization.helper"
- "@doctrine.orm.entity_manager"
- "@chill.main.helper.translatable_string"
- "%chill_activity.form.time_duration%"
tags:
- { name: form.type, alias: chill_activitybundle_activity }

View File

@@ -0,0 +1,6 @@
services:
chill_activity.repository.activity_type:
class: Doctrine\ORM\EntityRepository
factory: ['@doctrine.orm.entity_manager', getRepository]
arguments:
- 'Chill\ActivityBundle\Entity\ActivityType'