From 9bcd8ebe455a2267a0b21bc91914800cfbe5beed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Peters?= Date: Mon, 15 Dec 2008 15:16:56 +0100 Subject: [PATCH] only display local services for admins --- extra/modules/root.ptl | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/extra/modules/root.ptl b/extra/modules/root.ptl index 9ae0277..ee4ddfe 100644 --- a/extra/modules/root.ptl +++ b/extra/modules/root.ptl @@ -133,10 +133,12 @@ class AlternateRootDirectory(OldRootDirectory): '' '
' - '
' - '%s' % _('Your local services') - self.get_idp_sso_list() - '
' + + if identity and identity.is_admin(): + '
' + '%s' % _('Your local services') + self.get_idp_sso_list() + '
' '
' '%s' % _('Our partners services')