Add UngleichHeader and UngleichHeaderItem models
This commit is contained in:
parent
d006ddcf0d
commit
e05a2eab7e
1 changed files with 21 additions and 1 deletions
|
@ -95,4 +95,24 @@ class UngleichServiceItem(ServiceItem):
|
|||
blank=True,
|
||||
related_name="service_item_data_replaced_image",
|
||||
on_delete=models.SET_NULL
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class UngleichHeader(CMSPlugin):
|
||||
background_image = FilerImageField(
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name="ungleich_header_background_image",
|
||||
on_delete=models.SET_NULL
|
||||
)
|
||||
carousel_data_interval = models.IntegerField(default=5000)
|
||||
|
||||
|
||||
class UngleichHeaderItem(CMSPlugin):
|
||||
image = FilerImageField(
|
||||
null=True,
|
||||
blank=True,
|
||||
related_name="ungleich_header_item_image",
|
||||
on_delete=models.SET_NULL
|
||||
)
|
||||
description = HTMLField()
|
Loading…
Reference in a new issue