37 lines
1.5 KiB
YAML
37 lines
1.5 KiB
YAML
generator:
|
|
class: stAdminGenerator
|
|
param:
|
|
model_class: Notification
|
|
theme: simple
|
|
title: "Powiadomienia"
|
|
route: "@stNotificationBackend"
|
|
icon: "stNotificationPlugin"
|
|
|
|
list:
|
|
use_helper: [stNotification]
|
|
title: "Lista"
|
|
menu:
|
|
display: [list]
|
|
fields:
|
|
list: {name: "Lista", action: "@stNotificationBackend?action=list"}
|
|
display: [_content]
|
|
fields:
|
|
content: {name: ""}
|
|
mark_as: true
|
|
object_actions: []
|
|
select_actions:
|
|
actions:
|
|
_delete: -
|
|
peer_method: doSelect
|
|
peer_count_method: doCount
|
|
actions: []
|
|
select_actions: []
|
|
|
|
config:
|
|
title: Konfiguracja
|
|
display:
|
|
"NONE": [~notify_groups]
|
|
fields:
|
|
notify_groups: {name: "Włącz powiadomienia dla", type: "checkbox_tag", custom: true}
|
|
actions:
|
|
_save: {name: "Zapisz"} |