doughnut-wedding/app/config/easy_admin.yml

81 lines
2.3 KiB
YAML
Raw Normal View History

2017-04-25 15:45:32 -07:00
easy_admin:
2017-05-05 22:49:54 -07:00
site_name: Doughnut Wedding
2017-04-25 15:45:32 -07:00
design:
2017-05-05 22:49:54 -07:00
form_theme: 'horizontal'
2017-04-25 15:45:32 -07:00
entities:
2017-05-05 22:49:54 -07:00
ImageComments:
class: Sikofitt\DoughnutWeddingBundle\Entity\ImageComment
disabled_actions: ['new']
2017-04-25 15:45:32 -07:00
User:
class: Sikofitt\DoughnutWeddingBundle\Entity\User
list:
actions: ['show','edit','delete']
fields: ['name','username','email','enabled','lastLogin','rsvp']
2017-05-05 22:49:54 -07:00
edit:
fields:
- name
- username
- email
- { property: rsvp, type_options: { disabled: true } }
- comment
- images
- enabled
- lastLogin
- confirmationToken
- passwordRequestedAt
- roles
- created
- updated
- facebookId
- googleId
- amazonId
- instagramId
- twitterId
- yahooId
2017-04-25 15:45:32 -07:00
show:
fields:
- name
- username
- email
- rsvp
- comment
- images
- enabled
- lastLogin
- passwordRequestedAt
- roles
- created
- updated
- facebookId
- googleId
- amazonId
- instagramId
- twitterId
- yahooId
Rsvp:
class: Sikofitt\DoughnutWeddingBundle\Entity\Rsvp
2017-05-05 22:49:54 -07:00
Contact:
class: Sikofitt\DoughnutWeddingBundle\Entity\Contact
list:
actions: ['show','edit','delete']
fields: ['userid','email','name','comment','createdAt']
Images:
2017-04-25 15:45:32 -07:00
class: Sikofitt\DoughnutWeddingBundle\Entity\Image
image_base_path: 'https://storage.googleapis.com/zgluzzkwodfky2m0ytbhmjhmmzqzntq2ngy3ndjmntyxmzg4/gallery/'
list:
actions: ['show','delete']
fields:
- { property: 'imageName', label: 'Image', type: 'image', base_path: 'https://storage.googleapis.com/zgluzzkwodfky2m0ytbhmjhmmzqzntq2ngy3ndjmntyxmzg4/gallery/' }
2017-05-05 22:49:54 -07:00
- description
2017-04-25 15:45:32 -07:00
- category
- tags
- user
form:
fields:
- { property: 'imageFile', type: 'vich_image', base_path: 'https://storage.googleapis.com/zgluzzkwodfky2m0ytbhmjhmmzqzntq2ngy3ndjmntyxmzg4/gallery/' }
2017-05-05 22:49:54 -07:00
- description
2017-04-25 15:45:32 -07:00
- { property: tags, type: 'collection'}
- category
- user