author | Thierry Florac <thierry.florac@onf.fr> |
Mon, 29 Oct 2018 17:15:06 +0100 | |
changeset 212 | 6befdc90c967 |
parent 211 | 3d3ac985b5bb |
child 213 | 4a3edf1097c5 |
--- a/src/pyams_portal/template.py Tue Oct 23 12:13:33 2018 +0200 +++ b/src/pyams_portal/template.py Mon Oct 29 17:15:06 2018 +0100 @@ -304,7 +304,7 @@ def __init__(self, context): config = IPortalTemplateConfiguration(context) - terms = [SimpleTerm(slot_name) for slot_name in sorted(config.slot_names)] + terms = [SimpleTerm(slot_name, title=slot_name) for slot_name in sorted(config.slot_names)] super(PortalTemplateSlotsVocabulary, self).__init__(terms)