generator.yml 1.22 KB
Newer Older
Яков's avatar
first  
Яков committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
generator:
  class: sfDoctrineGenerator
  param:
    model_class:           Offer
    theme:                 admin
    non_verbose_templates: true
    with_show:             false
    singular:              ~
    plural:                ~
    route_prefix:          offer
    with_doctrine_route:   true
    actions_base_class:    sfActions
    order: 15
    skip: true

    config:
      actions: ~
      fields:
        id: {label: ''}
        inner_id: {label: ''}
        price: {label: 'Цена'}
        product_id: {label: ''}
        img: {label: 'Изображение'}
        quantity_type: {label: 'Единица измерения'}
        created_at: {label: ''}
        updated_at: {label: ''}
        is_wholesale: {label: 'Оптовая цена'}
      list:
        layout: ~
        title: 'Торговые предложения'
        display: [price, product_id, img]
        max_per_page: 100
        object_actions:
          _delete: ~
          _edit: ~
        search:
          fields: false
        export: false
      filter:
        class: false
      form: ~
      edit:
        title: Редактирование предложения
      new:
        title: Добавление предложения