equal
deleted
inserted
replaced
42 """Audio paragraph class""" |
42 """Audio paragraph class""" |
43 |
43 |
44 icon_class = 'fa-volume-up' |
44 icon_class = 'fa-volume-up' |
45 icon_hint = AUDIO_PARAGRAPH_NAME |
45 icon_hint = AUDIO_PARAGRAPH_NAME |
46 |
46 |
47 body = FieldProperty(IAudioParagraph['body']) |
47 data = FileProperty(IAudioParagraph['data']) |
48 description = FieldProperty(IAudioParagraph['description']) |
48 description = FieldProperty(IAudioParagraph['description']) |
49 author = FieldProperty(IAudioParagraph['author']) |
49 author = FieldProperty(IAudioParagraph['author']) |
50 data = FileProperty(IAudioParagraph['data']) |
|
51 renderer = FieldProperty(IAudioParagraph['renderer']) |
50 renderer = FieldProperty(IAudioParagraph['renderer']) |
52 |
51 |
53 |
52 |
54 @utility_config(name=AUDIO_PARAGRAPH_TYPE, provides=IParagraphFactory) |
53 @utility_config(name=AUDIO_PARAGRAPH_TYPE, provides=IParagraphFactory) |
55 class AudioParagraphFactory(BaseParagraphFactory): |
54 class AudioParagraphFactory(BaseParagraphFactory): |