- controller golem15.user.organisations behind golem15.users.access_users - list and form (name, slug preset from the name, description, avatar) - members relation manager: link sets and unlink clears users.organisation_id - deleting an organisation releases its members first - Organisation gains Fillable, Rules, MorphName, AttachRelations, BeforeValidate and the Members relation; models.Slugify - navigation side item organisations - TestAdminOrganisations, TestAdminOrganisationMembers, TestSlugify
19 lines
597 B
YAML
19 lines
597 B
YAML
name: golem15.user::lang.organisation.label
|
|
form: ~/plugins/golem15/user/models/organisation/fields.yaml
|
|
modelClass: Golem15\User\Models\Organisation
|
|
defaultRedirect: golem15/user/organisations
|
|
|
|
create:
|
|
redirect: golem15/user/organisations/update/:id
|
|
redirectClose: golem15/user/organisations
|
|
|
|
update:
|
|
redirect: golem15/user/organisations
|
|
redirectClose: golem15/user/organisations
|
|
|
|
messages:
|
|
create: golem15.user::lang.organisation.new
|
|
update: backend::lang.messages.form.update
|
|
saved: backend::lang.messages.form.saved
|
|
deleted: backend::lang.messages.form.deleted
|