9867cca632
improve rendering of cfgroup index
2015-12-17 22:16:06 +01:00
9c622bc852
improve cfgroup rendering to show title only if necessary
...
If the value `chill_custom_fields.show_empty_values_in_views` is false,
the title is shown only if a field has been filled "below" the title.
2015-12-17 07:46:06 +01:00
fe73a64e9d
Add possibility to hide empty value in customfield group view rendering
...
A new parameter is defined :
```
chill_custom_fields:
show_empty_values_in_views = true|false
```
A new method is added to CustomFieldInterface: `isEmptyValue`. To ease
the dev of new classes, an AbstractCustomField class is created, which
implements the most commons function (currently, only isEmptyValue).
A new Twig Filter is added: `chill_custom_field_is_empty`
The twig filter `chill_custom_fields_group_widget` has a new possibility
in array option : `show_empty`. Default to
chill_custom_fields.show_empty_values_in_view. May be forced by
true/false.
2015-12-15 11:11:36 +01:00
fa3245b99b
add a btn on edit link
2015-11-27 13:42:06 +01:00
3e23c1f156
show options in show view
2015-11-08 18:47:16 +01:00
45d34dc312
fix customfieldsgroup edit view
2015-11-07 09:51:36 +01:00
59ce457131
add a title
2015-11-07 08:59:57 +01:00
043f5a1eaf
fix show page
2015-11-05 23:49:22 +01:00
bb1e690bec
fix "create" page with translation and layout
2015-11-05 22:41:54 +01:00
9d65ca5088
layout of index page for customfieldsgroup
...
- add a "default" column (according to chill-project/custom-fields#3 )
- translation
2015-10-31 17:55:10 +01:00
Marc Ducobu
e2c1a9bb9f
Adding customfileds config in the Admin section menu
2015-10-30 10:36:27 +01:00
Marc Ducobu
4abb994725
Resources/views/CustomFieldsGroup/render_for_test.html.twig : refactoring : good indentation
2015-09-30 14:32:57 +02:00
Marc Ducobu
101783b9f1
Only display active custom fields in form & view
2015-09-30 13:32:24 +02:00
Marc Ducobu
20ba768e43
Renaming template for custom field group
2015-09-30 13:27:59 +02:00
Marc Ducobu
c8cb5d3b10
Adding customFieldsGroup in admin menu + Using admin template
2014-11-21 17:43:06 +01:00
28862bbdb9
create visualisation service rers #268
2014-11-10 12:15:32 +01:00
Marc Ducobu
a748fd6693
CFGroup - Lanuguage
2014-11-08 15:15:31 +01:00
8011746b26
move bundle to root dir for inclusion in packagist refs #259
2014-11-04 17:10:59 +01:00