Commit 8c9e0581 authored by Leigh Stoller's avatar Leigh Stoller

Change text when stopping a batch experiment to say it will also be

dequeued.
parent c19f7018
<?php <?php
# #
# EMULAB-COPYRIGHT # EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group. # Copyright (c) 2000-2004 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
include("defs.php3"); include("defs.php3");
...@@ -102,7 +102,7 @@ if (!strcmp($inout, "in")) { ...@@ -102,7 +102,7 @@ if (!strcmp($inout, "in")) {
} }
elseif (!strcmp($inout, "out")) { elseif (!strcmp($inout, "out")) {
if ($isbatch) if ($isbatch)
$action = "swapout"; $action = "swapout and dequeue";
else { else {
if ($state == $TB_EXPTSTATE_ACTIVATING) { if ($state == $TB_EXPTSTATE_ACTIVATING) {
$action = "cancel"; $action = "cancel";
...@@ -115,7 +115,7 @@ elseif (!strcmp($inout, "out")) { ...@@ -115,7 +115,7 @@ elseif (!strcmp($inout, "out")) {
elseif (!strcmp($inout, "pause")) { elseif (!strcmp($inout, "pause")) {
if (!$isbatch) if (!$isbatch)
USERERROR("Only batch experiments can be dequeued!", 1); USERERROR("Only batch experiments can be dequeued!", 1);
$action = "Dequeue"; $action = "dequeue";
} }
elseif (!strcmp($inout, "restart")) { elseif (!strcmp($inout, "restart")) {
$action = "restart"; $action = "restart";
......
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