Commit f4f18c91 authored by Leigh Stoller's avatar Leigh Stoller

Change availability graphs to say "Powder" instead of "Emulab"

in the Powder portal.
parent fec216a4
......@@ -48,14 +48,16 @@ $(function ()
$('#' + details.nickname + " .counts-panel")
.html(totalsTemplate({"details" : details,
"urn" : urn}));
"urn" : urn,
"title" :
(!window.ISPOWDER ?
details.nickname : "Powder")}));
if (window.ISPOWDER) {
$('#' + details.nickname + " .resgraph-panel-radios")
.html(graphTemplate({"details" : details,
"graphid" : graphid + "-radios",
"title" :
details.nickname + " Radio",
"title" : "Powder Radio",
"urn" : urn,
"showhelp" : true,
"showfullscreen" : false}));
......@@ -64,8 +66,8 @@ $(function ()
.html(graphTemplate({"details" : details,
"graphid" : graphid + "-servers",
"title" :
(!window.ISPOWDER ? details.nickname :
details.nickname + " Server"),
(!window.ISPOWDER ?
details.nickname : "Powder Server"),
"urn" : urn,
"showhelp" : true,
"showfullscreen" : false}));
......
......@@ -2,7 +2,7 @@
<div class='panel panel-default'>
<div class="panel-heading">
<h3 class="panel-title">
<center><%- details.nickname %></center></h3>
<center><%- title %></center></h3>
</div>
<div class='panel-body counts-size'>
<div class='resgraph-spinner'>
......
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