first commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
generator:
|
||||
class: stAdminGenerator
|
||||
param:
|
||||
model_class: NewsletterGroup
|
||||
theme: simple
|
||||
documentation:
|
||||
pl: https://www.sote.pl/docs/newsletter-sklep-internetowy
|
||||
en: https://www.soteshop.com/docs/newsletter
|
||||
head:
|
||||
package: stNewsletterPlugin
|
||||
|
||||
list:
|
||||
title: Grupy
|
||||
display: [=name, =count_users, is_default, created_at]
|
||||
fields:
|
||||
name: {name: Nazwa}
|
||||
count_users: {name: Adresów, params: link_to="stNewsletterUserBackend/list?group=%%id%%"}
|
||||
is_default: {name: Domyślna}
|
||||
created_at: {name: Utworzona}
|
||||
|
||||
actions:
|
||||
_create: {name: Dodaj}
|
||||
object_actions:
|
||||
_edit: -
|
||||
_delete: -
|
||||
|
||||
edit:
|
||||
title: Edycja grupy
|
||||
display: [id, name, description, is_public, is_default]
|
||||
fields:
|
||||
name: {name: Nazwa, params: disabled=false}
|
||||
description: {name: Opis, type: textarea_tag, params: size=40x5 rich=true tinymce_options='height:150,width:425'}
|
||||
is_public: {name: Możliwość dodania przez stronę}
|
||||
is_default: {name: Domyślna grupa}
|
||||
|
||||
actions:
|
||||
_delete: {name: Usuń}
|
||||
_list: {name: Lista}
|
||||
_save: {name: Zapisz}
|
||||
_save_and_add: {name: Zapisz i dodaj}
|
||||
|
||||
create:
|
||||
title: Dodaj grupę
|
||||
@@ -0,0 +1,2 @@
|
||||
all:
|
||||
stylesheets: [backend/stNewsletter.css]
|
||||
Reference in New Issue
Block a user