Index: openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl,v
diff -u -N -r1.29 -r1.30
--- openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 25 Jul 2005 13:23:56 -0000 1.29
+++ openacs-4/packages/dotlrn-ecommerce/lib/tree-chunk.tcl 25 Jul 2005 18:15:55 -0000 1.30
@@ -310,7 +310,7 @@
@course_list.attendees;noquote@ participants
,
@course_list.available_slots;noquote@ available
-
+
[_ dotlrn-ecommerce.lt_This_section_is_curre]
@@ -354,7 +354,7 @@
[_ dotlrn-ecommerce.application_pending]
- <#_ (You are number @course_list.waiting_list_number@ on the wait list)#>
+ [_ dotlrn-ecommerce.lt_You_are_number_course]
[_ dotlrn-ecommerce.awaiting_approval]
@@ -501,6 +501,9 @@
if { ! [empty_string_p $maxparticipants] } {
set available_slots [expr $maxparticipants - $attendees]
+ if { $available_slots < 0 } {
+ set available_slots 0
+ }
if { $available_slots <= 0 } {
set button "[_ dotlrn-ecommerce.join_waiting_list]"