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

@ -132,6 +132,10 @@ class DCLNavbarPluginModel(CMSPlugin):
related_name="dcl_navbar_logo_dark",
)
logo_url = models.URLField(max_length=300, null=True, blank=True)
language_dropdown = models.BooleanField(
default=True,
help_text='Select to include the language selection dropdown.'
)
def get_logo_dark(self):
# used only if atleast one logo exists