check_hobos: allow different tempate names for user/agent combo portals (#33950)
This commit is contained in:
parent
d1302e32a2
commit
476dc6c8ce
|
@ -408,10 +408,10 @@ class CmdCheckHobos(Command):
|
|||
continue
|
||||
|
||||
if service.get('service-id') == 'combo':
|
||||
if service.get('template_name') == 'portal-agent':
|
||||
if 'portal-agent' in service.get('template_name', ''):
|
||||
variables['portal_agent_url'] = service_url
|
||||
variables['portal_agent_title'] = service.get('title')
|
||||
elif service.get('template_name') == 'portal-user':
|
||||
elif 'portal-user' in service.get('template_name', ''):
|
||||
variables['portal_url'] = service_url
|
||||
variables['portal_user_url'] = service_url
|
||||
variables['portal_user_title'] = service.get('title')
|
||||
|
|
Loading…
Reference in New Issue