mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-16 05:15:10 +00:00
check if banner is not default
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user