Skip to content

Commit

Permalink
[new] added pdc description
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Jan 12, 2024
1 parent 3aa36c9 commit c9f7bad
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog
6.1.10 (unreleased)
-------------------

- Nothing changed yet.
- Added description to PDC fields
[pnicolli]


6.1.9 (2024-01-11)
Expand Down
10 changes: 10 additions & 0 deletions src/design/plone/contenttypes/interfaces/punto_di_contatto.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ class IPDCValueSchema(model.Schema):
required=True,
default="",
)
pdc_desc = schema.TextLine(
title=_("pdc_desc_label", default="Descrizione"),
description=_(
"pdc_desc_help",
default="Descrizione",
),
required=False,
default="",
max_length=255,
)
pdc_value = schema.TextLine(
title=_("pdc_value_label", default="Contatto"),
description=_(
Expand Down

0 comments on commit c9f7bad

Please sign in to comment.