Commit b5ce01c4 authored by Leigh Stoller's avatar Leigh Stoller

Add a (red-dot only for now) link to create a profile from an NS script.

parent 793e28c8
<?php
#
# Copyright (c) 2000-2015 University of Utah and the Flux Group.
# Copyright (c) 2000-2016 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -536,8 +536,12 @@ if (! $instance) {
if (!$geniflags) {
WRITESUBMENUBUTTON("Duplicate Experiment",
"beginexp.php?copyid=$expindex");
if ($isadmin) {
$uuid = $experiment->uuid();
WRITESUBMENUBUTTON("Create Profile from Experiment",
"portal/manage_profile.php?fromexp=$uuid");
}
}
if ($EXPOSEARCHIVE && !$instance && !$geniflags) {
WRITESUBMENUBUTTON("Experiment File Archive",
"archive_view.php3?experiment=$expindex");
......
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