Add UngleichHeaderWithTextAndImagePlugin

This commit is contained in:
PCoder 2017-11-24 20:29:26 +01:00
commit 824fd1a6b5
4 changed files with 77 additions and 1 deletions

View file

@ -98,6 +98,22 @@ class UngleichServiceItem(ServiceItem):
)
class UngleichSimpleHeader(CMSPlugin):
background_image = FilerImageField(
null=True,
blank=True,
related_name="ungleich_simple_header_background_image",
on_delete=models.SET_NULL
)
image = FilerImageField(
null=True,
blank=True,
related_name="ungleich_simple_header_image",
on_delete=models.SET_NULL
)
text = HTMLField()
class UngleichHeader(CMSPlugin):
background_image = FilerImageField(
null=True,