Files
sm-user-plugin/models/organisation/fields.yaml
Jakub Zych f20a8d3b98 feat: organisation logo (attachOne logo) and payload helpers
- Organisation gains the public attachOne logo (OrganisationLogoField),
  editable as an image upload on the Organisations form; avatar unchanged
- OrganisationLogoURL and OrganisationLogoFields give applications the
  has_logo, logo and logo_url keys for their organisation payloads
- no migration: attachments live in system_files
2026-10-23 17:03:13 +02:00

38 lines
1020 B
YAML

fields:
name:
label: golem15.user::lang.organisation.name
type: text
span: left
required: true
slug:
label: golem15.user::lang.organisation.slug
comment: golem15.user::lang.organisation.slug_comment
type: text
span: right
preset:
field: name
type: slug
description:
label: golem15.user::lang.organisation.description
type: textarea
size: small
avatar:
label: golem15.user::lang.organisation.avatar
type: fileupload
mode: image
imageWidth: 120
imageHeight: 120
logo:
label: golem15.user::lang.organisation.logo
comment: golem15.user::lang.organisation.logo_comment
type: fileupload
mode: image
imageWidth: 240
imageHeight: 120
members:
type: relation-manager
relation: members
tab: golem15.user::lang.organisation.members
span: full
context: update