From 878862c35e389f01cc7441cc467071642153df37 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Fri, 23 Aug 2013 15:56:28 +0200 Subject: [PATCH] added a link to each platform on Dashboard --- plugins/lists/static/js/simplelist.js | 2 +- portal/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/lists/static/js/simplelist.js b/plugins/lists/static/js/simplelist.js index 9cd51297..aed62177 100644 --- a/plugins/lists/static/js/simplelist.js +++ b/plugins/lists/static/js/simplelist.js @@ -96,7 +96,7 @@ if (key == 'slice.slice_hrn') { return "" + value + ""; } else if (key == 'network_hrn') { - return "" + value ; + return "" + value + ""; } else { return value; } diff --git a/portal/views.py b/portal/views.py index ca248ab6..be1b77c9 100644 --- a/portal/views.py +++ b/portal/views.py @@ -583,7 +583,7 @@ class PlatformView(TemplateView): # more general variables expected in the template context['title'] = 'Platforms connected to MySlice' # the menu items on the top - # context['topmenu_items'] = topmenu_items('Platforms', self.request) + context['topmenu_items'] = topmenu_items('Platforms', self.request) # so we can sho who is logged context['username'] = the_user(self.request) @@ -1145,7 +1145,7 @@ class ValidatePendingView(TemplateView): for user in pending_users: auth_hrn = user.authority_hrn if not auth_hrn: - auth_hrn = "ple.upmc" # XXX HARDCODED + auth_hrn = "fed4fire.upmc" # XXX HARDCODED request = {} request['type'] = 'user' -- 2.43.0