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