From: Yasin Date: Thu, 3 Jul 2014 17:11:22 +0000 (+0200) Subject: fix: hide management section X-Git-Tag: myslice-1.1~60^2~7^2~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e98c4fc5788d71eba3f38e589e8a87c49ded27ac;p=unfold.git fix: hide management section --- diff --git a/portal/sliceview.py b/portal/sliceview.py index 89261c2c..309347c5 100644 --- a/portal/sliceview.py +++ b/portal/sliceview.py @@ -33,7 +33,7 @@ class SliceView (LoginRequiredView, ThemeView): if 'myslice' in platform_detail['platform']: acc_auth_cred = account_config.get('delegated_authority_credentials','N/A') # assigning values - if acc_auth_cred == {}: + if acc_auth_cred == {} or acc_auth_cred == 'N/A': pi = "is_not_pi" else: pi = "is_pi"