equal
deleted
inserted
replaced
30 # |
30 # |
31 # Illustration |
31 # Illustration |
32 # |
32 # |
33 |
33 |
34 ILLUSTRATION_KEY = 'pyams_content.illustration' |
34 ILLUSTRATION_KEY = 'pyams_content.illustration' |
|
35 ILLUSTRATION_RENDERERS = 'PyAMS.illustration.renderer' |
35 |
36 |
36 |
37 |
37 class IIllustration(IRenderedContent): |
38 class IIllustration(IRenderedContent): |
38 """Illustration paragraph""" |
39 """Illustration paragraph""" |
39 |
40 |
65 vocabulary="PyAMS base languages", |
66 vocabulary="PyAMS base languages", |
66 required=False) |
67 required=False) |
67 |
68 |
68 renderer = Choice(title=_("Illustration template"), |
69 renderer = Choice(title=_("Illustration template"), |
69 description=_("Presentation template used for illustration"), |
70 description=_("Presentation template used for illustration"), |
70 vocabulary='PyAMS illustration renderers', |
71 vocabulary=ILLUSTRATION_RENDERERS, |
71 default='hidden') |
72 default='hidden') |
72 |
73 |
73 |
74 |
74 class IIllustrationTarget(IAttributeAnnotatable): |
75 class IIllustrationTarget(IAttributeAnnotatable): |
75 """Illustration target marker interface""" |
76 """Illustration target marker interface""" |
94 vocabulary="PyAMS base languages", |
95 vocabulary="PyAMS base languages", |
95 required=False) |
96 required=False) |
96 |
97 |
97 renderer = Choice(title=_("Illustration template"), |
98 renderer = Choice(title=_("Illustration template"), |
98 description=_("Presentation template used for illustration"), |
99 description=_("Presentation template used for illustration"), |
99 vocabulary='PyAMS illustration renderers', |
100 vocabulary=ILLUSTRATION_RENDERERS, |
100 default='hidden') |
101 default='hidden') |