diff --git a/ui/jsp/router.jsp b/ui/jsp/router.jsp index 97e327b431e..5974587bcdf 100644 --- a/ui/jsp/router.jsp +++ b/ui/jsp/router.jsp @@ -208,6 +208,18 @@ dictionary = { + +
+
+
+ :
+
+
+
+
+
+
+ diff --git a/ui/scripts/cloud.core.router.js b/ui/scripts/cloud.core.router.js index cb49f0b79c1..55cf5fea803 100644 --- a/ui/scripts/cloud.core.router.js +++ b/ui/scripts/cloud.core.router.js @@ -182,7 +182,13 @@ function routerJsonToDetailsTab() { $thisTab.find("#networkdomain").text(fromdb(jsonObj.networkdomain)); $thisTab.find("#domain").text(fromdb(jsonObj.domain)); $thisTab.find("#account").text(fromdb(jsonObj.account)); - setDateField(jsonObj.created, $thisTab.find("#created")); + setDateField(jsonObj.created, $thisTab.find("#created")); + + setBooleanReadField(jsonObj.isredundantrouter, $thisTab.find("#isredundantrouter")); + if(jsonObj.isredundantrouter == true) { + var t = $thisTab.find("#isredundantrouter").text()+ " (" + fromdb(jsonObj.redundantstate) + ")"; + $thisTab.find("#isredundantrouter").text(t); + } resetViewConsoleAction(jsonObj, $thisTab); @@ -231,7 +237,9 @@ function routerClearDetailsTab() { $thisTab.find("#networkdomain").text(""); $thisTab.find("#domain").text(""); $thisTab.find("#account").text(""); - $thisTab.find("#created").text(""); + $thisTab.find("#created").text(""); + $thisTab.find("#isredundantrouter").text(""); + resetViewConsoleAction(null, $thisTab); var $actionMenu = $("#right_panel_content #tab_content_details #action_link #action_menu");