[minor] [fix] first web page should set brand_html

This commit is contained in:
Anand Doshi 2013-11-21 18:28:03 +05:30
parent b866a9bb05
commit 6c29492652

View File

@ -80,7 +80,7 @@ class DocType:
# update in home page in settings
website_settings = webnotes.bean("Website Settings", "Website Settings")
website_settings.doc.home_page = webpage.doc.name
website_settings.doc.banner_html = """<h3 style='margin-bottom: 20px;'>""" + self.doc.name + "</h3>"
website_settings.doc.brand_html = "<span>{}</span>".format(self.doc.name)
website_settings.doc.copyright = self.doc.name
website_settings.doclist.append({
"doctype": "Top Bar Item",