From f3ff5f4547f592a60210fd2fa3833f88bc0694c3 Mon Sep 17 00:00:00 2001 From: horse69 Date: Sat, 1 Dec 2012 02:26:39 +0000 Subject: [PATCH] git-svn-id: https://svn.code.sf.net/p/freetel/code@1100 01035d8c-6547-0410-b346-abe4f91aad63 --- mini-asterisk-gui2/ipphones.js | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/mini-asterisk-gui2/ipphones.js b/mini-asterisk-gui2/ipphones.js index 85a3f265..08a9fa73 100644 --- a/mini-asterisk-gui2/ipphones.js +++ b/mini-asterisk-gui2/ipphones.js @@ -39,15 +39,18 @@ function initialisePage() { for (j in ip_ext) { if (ip_ext[j] != '') { html += ""; - html += "" + j + "" + "" + "IP Phone" + ""; + html += "" + j + "" ; html += "" + ip_ext[j] + ""; - html += "" + tick + ""; - - - html += ""; - - } + html += ""; + } + else { + html += ""; + html += "" + j + "" ; + html += "" + "available" + ""; + html += "" + cross + ""; + html += ""; + } } html += ''; -- 2.25.1