mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
check if banner is not default
This commit is contained in:
@@ -56,7 +56,8 @@ def get_setup_status():
|
|||||||
percent = 20
|
percent = 20
|
||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
if not webnotes.conn.get_value('Personalize', None, 'header_html'):
|
header = webnotes.conn.get_value('Control Panel', None, 'client_name') or ''
|
||||||
|
if header.startswith('<div style="padding:4px; font-size:20px;">'):
|
||||||
ret.append('<a href="#!Form/Personalize/Personalize">Upload your company banner</a>')
|
ret.append('<a href="#!Form/Personalize/Personalize">Upload your company banner</a>')
|
||||||
else:
|
else:
|
||||||
percent += 20
|
percent += 20
|
||||||
|
|||||||
Reference in New Issue
Block a user