check if banner is not default

This commit is contained in:
Rushabh Mehta 2011-08-17 12:23:53 +05:30
parent 8eb1ec27ba
commit 496a65a45d

View File

@ -57,7 +57,8 @@ def get_setup_status():
ret = []
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>')
else:
percent += 20