facebook and youtube url added

This commit is contained in:
Arvind Tiwari 2018-02-08 21:26:28 +05:30
commit a3fa4b138f
3 changed files with 28 additions and 8 deletions

View file

@ -225,7 +225,7 @@ class UngleichHTMLOnly(CMSPlugin):
class UngleichFooter(CMSPlugin):
copyright = models.CharField(
copyright_label = models.CharField(
max_length=100, default='', blank=True,
help_text='Name of the company alongside the copyright year'
)
@ -249,3 +249,11 @@ class UngleichFooter(CMSPlugin):
blank=True, null=True,
help_text='If empty, github btn will not be visible'
)
facebook_url = models.URLField(
blank=True, null=True,
help_text='If empty, facebook btn will not be visible'
)
youtube_url = models.URLField(
blank=True, null=True,
help_text='If empty, youtube btn will not be visible'
)