check if banner is not default
This commit is contained in:
parent
8eb1ec27ba
commit
496a65a45d
@ -57,7 +57,8 @@ def get_setup_status():
|
|||||||
ret = []
|
ret = []
|
||||||
|
|
||||||
header = webnotes.conn.get_value('Control Panel', None, 'client_name') or ''
|
header = webnotes.conn.get_value('Control Panel', None, 'client_name') or ''
|
||||||
if header.startswith('<div style="padding:4px; font-size:20px;">'):
|
if header.startswith('<div style="padding:4px; font-size:20px;">'\
|
||||||
|
+webnotes.conn.get_value('Control Panel', None, 'company_name')):
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user