Commit dc013387 authored by Jonathon Duerig's avatar Jonathon Duerig

Temporary fix for iMinds cluster status in instantiate page. Remove when...

Temporary fix for iMinds cluster status in instantiate page. Remove when actual stats are available again.
parent 830abd29
......@@ -944,6 +944,11 @@ $(function ()
if (data && !$.isEmptyObject(data)) {
// Calculate testbed rating and set up tooltips.
rating = wt.CalculateRating(data, resourceTypes);
// TODO: Remove this when we have actual stats again
console.log(name, rating);
if (name === 'APT Utah' || name === 'Emulab') {
rating = ["100", 100, ["<div>Testbed is healthy</div>", "<div>PCs available</div>"]];
}
classes = wt.AssignStatusClass(rating[0], rating[1]);
}
else {
......
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