[minor] [fix] #218 add default home icon in website if brand not set so it appears okay for small layouts

This commit is contained in:
Rushabh Mehta
2013-07-22 16:30:40 +05:30
parent b54cd9967e
commit 500ce2bd6d
2 changed files with 1 additions and 7 deletions

View File

@@ -74,12 +74,6 @@ class DocType:
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.copyright = self.doc.name
website_settings.doclist.append({
"doctype": "Top Bar Item",
"parentfield": "top_bar_items",
"label":"Home",
"url": webpage.doc.name
})
website_settings.doclist.append({
"doctype": "Top Bar Item",
"parentfield": "top_bar_items",