equal
deleted
inserted
replaced
37 |
37 |
38 |
38 |
39 class IImageMapArea(IAttributeAnnotatable): |
39 class IImageMapArea(IAttributeAnnotatable): |
40 """Image map area interface""" |
40 """Image map area interface""" |
41 |
41 |
42 title = I18nTextLineField(title=_("Area title"), |
|
43 description=_("Label associated with this area"), |
|
44 required=True) |
|
45 |
|
46 link = Choice(title=_("Link target"), |
42 link = Choice(title=_("Link target"), |
47 description=_("Internal or external link associated with this map area"), |
43 description=_("Internal or external link associated with this map area"), |
48 vocabulary="PyAMS content links", |
44 vocabulary="PyAMS content associations", |
49 required=True) |
45 required=True) |
|
46 |
|
47 title = I18nTextLineField(title=_("Alternate title"), |
|
48 description=_("Alternate label associated with this area"), |
|
49 required=False) |
50 |
50 |
51 area = MapArea(title=_("Map area coordinates"), |
51 area = MapArea(title=_("Map area coordinates"), |
52 description=_("List of coordinates of image area"), |
52 description=_("List of coordinates of image area"), |
53 required=True) |
53 required=True) |
54 |
54 |