portal cms apphook and various fixes
This commit is contained in:
@@ -42,6 +42,15 @@ class SectionText(CMSPlugin):
|
||||
verbose_name_plural = 'Section Texts'
|
||||
|
||||
|
||||
class IntroImage(CMSPlugin):
|
||||
image = CroppableFilerImageField(verbose_name='Bild')
|
||||
cropping = ImageRatioField('image', '1000x1000', free_crop=True)
|
||||
|
||||
class Meta(CMSPlugin.Meta):
|
||||
verbose_name = 'Intro Bild'
|
||||
verbose_name_plural = 'intro Bilder'
|
||||
|
||||
|
||||
class Video(CMSPlugin):
|
||||
vimeo_id = models.IntegerField(verbose_name='Vimeo ID', help_text='e.g. https://vimeo.com/<b>131766159</b>')
|
||||
thumbnail = CroppableFilerImageField(verbose_name='Vorschaubild')
|
||||
|
||||
Reference in New Issue
Block a user