pari: branch 2.0 r3778 - /branches/2.0/config/welcome.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Sat Sep 6 13:26:06 CDT 2008


Author: pari
Date: Sat Sep  6 13:26:05 2008
New Revision: 3778

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

 highlight only new voicemails 


Modified:
    branches/2.0/config/welcome.html

Modified: branches/2.0/config/welcome.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/welcome.html?view=diff&rev=3778&r1=3777&r2=3778
==============================================================================
--- branches/2.0/config/welcome.html (original)
+++ branches/2.0/config/welcome.html Sat Sep  6 13:26:05 2008
@@ -202,10 +202,10 @@
 			}
 
 			var tmp_mails = ASTGUI.mailboxCount(user);
-			if( tmp_mails.count_new == 0 && tmp_mails.count_old == 0 ){
+			if( tmp_mails.count_new > 0 ){
+				var tmp_mails_str = '<font color=#888B8D> Messages : <B><font color=red>' + tmp_mails.count_new + '</font>/' + tmp_mails.count_old + '</B></font>' ;
+			}else{
 				var tmp_mails_str = '<font color=#888B8D> Messages : ' + tmp_mails.count_new + '/' + tmp_mails.count_old + '</font>' ;
-			}else{
-				var tmp_mails_str = '<font color=#888B8D> Messages : <B><font color=red>' + tmp_mails.count_new + '</font>/' + tmp_mails.count_old + '</B></font>' ;
 			}
 
 			newRow.className = ((DOM_table_Ext_list.rows.length)%2==1)?'odd':'even';




More information about the asterisk-gui-commits mailing list