Commit f5ae6ca1 authored by Leigh Stoller's avatar Leigh Stoller

When osid is EZ, add a cross link to the image. Save clicking around.

parent 28fdac37
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2006, 2007 University of Utah and the Flux Group.
# Copyright (c) 2006, 2007, 2009 University of Utah and the Flux Group.
# All rights reserved.
#
......@@ -290,6 +290,7 @@ class OSinfo
$max_concurrent = $this->max_concurrent();
$reboot_waittime= $this->reboot_waittime();
$uuid = $this->uuid();
$ezid = $this->ezid();
if (! ($creator_user = User::Lookup($creator))) {
TBERROR("Error getting object for user $creator", 1);
......@@ -412,6 +413,14 @@ class OSinfo
$nextosid</a></td>
</tr>\n";
}
if ($ezid) {
echo "<tr>
<td>Image Link: </td>
<td class=left>
<a href='showimageid.php3?imageid=$osid'>
$os_osname</a></td>
</tr>\n";
}
echo "<tr>
<td>Internal ID: </td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment