only display local services for admins
This commit is contained in:
parent
1f0c82dfe5
commit
9bcd8ebe45
|
@ -133,10 +133,12 @@ class AlternateRootDirectory(OldRootDirectory):
|
|||
'</div>'
|
||||
|
||||
'<div class="cdc_col2">'
|
||||
'<fieldset class="cdc_connections">'
|
||||
'<legend>%s</legend>' % _('Your local services')
|
||||
self.get_idp_sso_list()
|
||||
'</fieldset>'
|
||||
|
||||
if identity and identity.is_admin():
|
||||
'<fieldset class="cdc_connections">'
|
||||
'<legend>%s</legend>' % _('Your local services')
|
||||
self.get_idp_sso_list()
|
||||
'</fieldset>'
|
||||
|
||||
'<fieldset class="cdc_connections">'
|
||||
'<legend>%s</legend>' % _('Our partners services')
|
||||
|
|
Reference in New Issue