rbrindley: branch rbrindley/welcome_revamp r4313 - /team/rbrindley/welcome_re...

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Dec 8 16:35:56 CST 2008


Author: rbrindley
Date: Mon Dec  8 16:35:55 2008
New Revision: 4313

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4313
Log:

- changed queue status images to use agent_busy.png and agent_ringing.png


Modified:
    team/rbrindley/welcome_revamp/config/js/welcome2.js

Modified: team/rbrindley/welcome_revamp/config/js/welcome2.js
URL: http://svn.digium.com/view/asterisk-gui/team/rbrindley/welcome_revamp/config/js/welcome2.js?view=diff&rev=4313&r1=4312&r2=4313
==============================================================================
--- team/rbrindley/welcome_revamp/config/js/welcome2.js (original)
+++ team/rbrindley/welcome_revamp/config/js/welcome2.js Mon Dec  8 16:35:55 2008
@@ -326,7 +326,7 @@
 
 				switch(a_status.toLowerCase()) {
 					case 'busy':
-						var a_status_img = 'images/agent_loggedout.png';
+						var a_status_img = 'images/agent_busy.png';
 						break;
 					case 'available':
 						var a_status_img = 'images/agent_loggedin.png';
@@ -709,7 +709,7 @@
 		break;
 	case 'status_2': /* In Use */
 	case 'status_3': /* Busy */
-		agent_locs.children('.status_icon').attr('src','images/status_red.png');
+		agent_locs.children('.status_icon').attr('src','images/agent_busy.png');
 		break;
 	case 'status_4': /* Invalid */
 		agent_locs.children('.status_icon').attr('src','images/agent_loggedout.png');
@@ -718,13 +718,13 @@
 		agent_locs.children('.status_icon').attr('src','images/agent_loggedout.png');
 		break;
 	case 'status_6': /* Ringing */
-		agent_locs.children('.status_icon').attr('src','images/status_orange.png');
+		agent_locs.children('.status_icon').attr('src','images/agent_ringing.png');
 		break;
 	case 'status_7': /* Ring In Use */
-		agent_locs.children('.status_icon').attr('src','images/status_orange.png');
+		agent_locs.children('.status_icon').attr('src','images/agent_ringing.png');
 		break;
 	case 'status_8': /* On Hold */
-		agent_locs.children('.status_icon').attr('src','images/status_red.png');
+		agent_locs.children('.status_icon').attr('src','images/agent_busy.png');
 		break;
 	default:
 		alert('updateAgent: '+event.toString());




More information about the asterisk-gui-commits mailing list