top bar to accept url

This commit is contained in:
Rushabh Mehta
2012-02-07 10:39:17 +05:30
parent 0a45f96c48
commit f35992f695
3 changed files with 32 additions and 33 deletions

View File

@@ -53,7 +53,7 @@ def boot_session(bootinfo):
if webnotes.session['user']=='Guest':
bootinfo['website_settings'] = webnotes.model.doc.getsingle('Website Settings')
bootinfo['website_menus'] = webnotes.conn.sql("""select label, std_page, custom_page,
bootinfo['website_menus'] = webnotes.conn.sql("""select label, url, custom_page,
parent_label, parentfield
from `tabTop Bar Item` where parent='Website Settings' order by idx asc""", as_dict=1)
bootinfo['custom_css'] = webnotes.conn.get_value('Style Settings', None, 'custom_css') or ''