--- a/src/pyams_content/shared/imagemap/interfaces/__init__.py Mon Sep 11 14:52:15 2017 +0200
+++ b/src/pyams_content/shared/imagemap/interfaces/__init__.py Mon Sep 11 14:53:15 2017 +0200
@@ -39,15 +39,15 @@
class IImageMapArea(IAttributeAnnotatable):
"""Image map area interface"""
- title = I18nTextLineField(title=_("Area title"),
- description=_("Label associated with this area"),
- required=True)
-
link = Choice(title=_("Link target"),
description=_("Internal or external link associated with this map area"),
- vocabulary="PyAMS content links",
+ vocabulary="PyAMS content associations",
required=True)
+ title = I18nTextLineField(title=_("Alternate title"),
+ description=_("Alternate label associated with this area"),
+ required=False)
+
area = MapArea(title=_("Map area coordinates"),
description=_("List of coordinates of image area"),
required=True)