From: Stephen Soltesz Date: Tue, 14 Jul 2009 16:38:24 +0000 (+0000) Subject: add 'add interface' link when there is no primary interface. X-Git-Tag: PLEWWW-4.3-25~8 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0499a60e445e2f7660f651f13b75563571c388f4;p=plewww.git add 'add interface' link when there is no primary interface. --- diff --git a/planetlab/nodes/node_downloads.php b/planetlab/nodes/node_downloads.php index c6148b2..2577c56 100644 --- a/planetlab/nodes/node_downloads.php +++ b/planetlab/nodes/node_downloads.php @@ -258,7 +258,10 @@ EOF; $details->start(); if( ! $interface ) { + print ("
"); print (plc_warning("This node has no configured primary interface.")); + print ("You can add one " . href(l_interface_add($node_id), "here ")); + print ("
"); } else { $details->tr(l_node_t($node_id,"Node details"),"center"); $details->th_td("node_id",$node_id);