From: Loic Baron Date: Fri, 23 Aug 2013 13:56:28 +0000 (+0200) Subject: added a link to each platform on Dashboard X-Git-Tag: myslice-0.2-1~44^2~1 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=878862c35e389f01cc7441cc467071642153df37 added a link to each platform on Dashboard --- 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'