mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 14:24:24 +00:00
adding a link to event types for link parent/categories
This commit is contained in:
parent
ca2d4db6f9
commit
329d688b5a
@ -134,7 +134,8 @@ class PickStatusType extends AbstractType
|
|||||||
'group_by' => null,
|
'group_by' => null,
|
||||||
'choice_attr' => function(Status $s) {
|
'choice_attr' => function(Status $s) {
|
||||||
return array(
|
return array(
|
||||||
'data-event-type' => $s->getType()->getId()
|
'data-event-type' => $s->getType()->getId(),
|
||||||
|
'data-link-category' => $s->getType()->getId()
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
'choice_label' => function(Status $s)
|
'choice_label' => function(Status $s)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user