header btn target accepts id, navbar optional lang dropdown

This commit is contained in:
Arvind Tiwari 2018-03-20 02:34:20 +05:30
commit b252211a69
6 changed files with 60 additions and 11 deletions

View file

@ -125,9 +125,12 @@ class UngleichHeaderWithBackgroundVideoSliderItem(CMSPlugin):
blank=True, null=True,
help_text='An optional description for this slide.'
)
btn_link = models.URLField(
blank=True, null=True,
help_text='If this field is left empty, no button would be displayed.'
btn_link = models.CharField(
max_length=100, blank=True, null=True,
help_text=(
'Url or #id to navigate on click. If this field is left empty, no '
'button would be displayed.'
)
)
btn_text = models.CharField(
blank=True, null=True, max_length=50,