top bar to accept url
This commit is contained in:
@@ -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 ''
|
||||
|
||||
Reference in New Issue
Block a user