Add menu_text fields for various plugins
This commit is contained in:
parent
c147b48af7
commit
73818fd5b9
1 changed files with 5 additions and 1 deletions
|
@ -15,25 +15,29 @@ class UngelichPicture(CMSPlugin):
|
||||||
|
|
||||||
|
|
||||||
class SectionWithImage(UngelichPicture):
|
class SectionWithImage(UngelichPicture):
|
||||||
|
menu_text = models.CharField(max_length=100, default="", blank=True)
|
||||||
price_tag_image = FilerImageField(
|
price_tag_image = FilerImageField(
|
||||||
null=True,
|
null=True,
|
||||||
blank=True,
|
blank=True,
|
||||||
related_name="price_tag_image",
|
related_name="price_tag_image",
|
||||||
on_delete=models.SET_NULL
|
on_delete=models.SET_NULL
|
||||||
)
|
)
|
||||||
price_tag_url = models.URLField(max_length=300, default="")
|
price_tag_url = models.URLField(max_length=300, default="", blank=True)
|
||||||
|
|
||||||
|
|
||||||
class UngelichContactUsSection(CMSPlugin):
|
class UngelichContactUsSection(CMSPlugin):
|
||||||
|
menu_text = models.CharField(max_length=100, default="", blank=True)
|
||||||
email = models.EmailField(max_length=200)
|
email = models.EmailField(max_length=200)
|
||||||
|
|
||||||
|
|
||||||
class UngelichTextSection(CMSPlugin):
|
class UngelichTextSection(CMSPlugin):
|
||||||
|
menu_text = models.CharField(max_length=100, default="", blank=True)
|
||||||
title = models.CharField(max_length=200)
|
title = models.CharField(max_length=200)
|
||||||
description = HTMLField()
|
description = HTMLField()
|
||||||
|
|
||||||
|
|
||||||
class Service(CMSPlugin):
|
class Service(CMSPlugin):
|
||||||
|
menu_text = models.CharField(max_length=100, default="", blank=True)
|
||||||
title = models.CharField(max_length=200)
|
title = models.CharField(max_length=200)
|
||||||
sub_title = models.CharField(max_length=200)
|
sub_title = models.CharField(max_length=200)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue