summaryrefslogtreecommitdiffstats
path: root/apps/admin/modules/log/config/generator.yml
blob: 553b1c2321f1f8948dfb441f1fac30e1edcf6ece (plain)
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
generator:
  class:              sfPropelAdminGenerator
  param:
    model_class:      LogEntry
    theme:            mailadmin

    fields:
      created_at:          { name: Time }
      user_id:             { name: User }
      host:                { name: Host }
      priority:            { name: Type }
    
    list:
      peer_method:         doSelectJoinUser
      title:               Logs
      display:             [created_at, _priority, message, _user_id, host]
      filters:             [created_at, priority, message, user_id, host]
      max_per_page:        '$this->getUser()->getResultsPerPage("pager")'
      sort:                [created_at, desc]
      fields:
        created_at:        { params: align=left center }
        user_id:           { params: align=left }
        message:           { params: align=left }
        host:              { params: align=left }
        priority:          { params: align=left }
      object_actions:
        delete:              { name: Delete, action: delete, icon: trash.gif, params: confirm=Are you sure? }
      actions:               {}

    edit:                    {}