Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
folix-01 committed Jul 11, 2024
1 parent 25cb03e commit f410ea3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/iosanita/contenttypes/behaviors/address.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class IAddressPersona(IAddress, IAddressNomeSede, IAddressLocal):
class IAddressUnitaOrganizzativa(IAddress, IAddressNomeSede, IAddressLocal):
""""""

structure = RelationList(
structure = RelationList(
title=_("strutura_label", default="Structure"),
value_type=RelationChoice(
title=_("structure_relation_label"),
Expand Down Expand Up @@ -136,7 +136,7 @@ class IAddressUnitaOrganizzativa(IAddress, IAddressNomeSede, IAddressLocal):
"quartiere",
"circoscrizione",
"country",
"structure"
"structure",
],
)

Expand Down Expand Up @@ -167,6 +167,7 @@ class AddressPersona(object):
def __init__(self, context):
self.context = context


@implementer(IAddressUnitaOrganizzativa)
@adapter(IDexterityContent)
class AddressUnitaOrganizzativa(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
@provider(IFormFieldProvider)
class INewsAdditionalFields(model.Schema):
descrizione_estesa = BlocksField(
title=_("new_additional_fields_descrizione_estesa", default="Descrizione estesa"),
title=_(
"new_additional_fields_descrizione_estesa", default="Descrizione estesa"
),
required=True,
description=_(
"new_additional_fields_descrizione_estesa_help",
Expand Down
1 change: 0 additions & 1 deletion src/iosanita/contenttypes/content/unita_organizzativa.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class IUnitaOrganizzativa(model.Schema):
required=False,
)


competenze = BlocksField(
title=_("uo_competenze_label", default="Competenze"),
description=_(
Expand Down

0 comments on commit f410ea3

Please sign in to comment.