CVS: tmda-cgi PendList.py,1.29,1.30

Jim Ramsay <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv24878

Modified Files:
	PendList.py 
Log Message:
Update message if no results are found, and the message if the pending queue is empty.


Index: PendList.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/PendList.py,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- PendList.py	6 Dec 2003 22:26:39 -0000	1.29
+++ PendList.py	6 Dec 2003 22:39:25 -0000	1.30
@@ -585,6 +585,9 @@
 
   # No messages to display
   else:
-    T["Row"] = '<tr><td colspan="4" class="InProcess"><i>None.</i></td></tr>'
+    if Searching:
+      T["Row"] = '<tr><td colspan="%s" align="center" class="InProcess"><i>No messages match the search criteria</i></td></tr>' % NumCols
+    else: 
+      T["Row"] = '<tr><td colspan="%s" align="center" class="InProcess"><i>No messages in your pending queue</i></td></tr>' % NumCols
 
   print T
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.