Index: openacs-4/packages/project-manager/tcl/task-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/tcl/task-procs.tcl,v
diff -u -r1.30 -r1.31
--- openacs-4/packages/project-manager/tcl/task-procs.tcl 24 Jul 2007 04:14:13 -0000 1.30
+++ openacs-4/packages/project-manager/tcl/task-procs.tcl 26 Jul 2007 10:35:40 -0000 1.31
@@ -1755,12 +1755,16 @@
[_ project-manager.Project] |
- $project_name |
+ $project_name |
[_ project-manager.Your_role] |
$role |
+
+ [_ project-manager.Priority] |
+ $priority |
+
$process_html
@@ -1772,17 +1776,31 @@
[_ project-manager.Dates_1]
-
-
- [_ project-manager.Latest_start_1] |
- $latest_start |
-
-
- [_ project-manager.Latest_finish] |
- $latest_finish |
-
-
"
+"
+ if {$latest_start ne ""} {
+ append notification_text "
+
+ [_ project-manager.Latest_start_1] |
+ $latest_start |
+
+
+ [_ project-manager.Latest_finish] |
+ $latest_finish |
+
+
"
+ } elseif {$end_date ne ""} {
+ append notification_text "
+
+ [_ project-manager.End_date] |
+ $end_date |
+
+
"
+ } else {
+ append notification_text "No dates specified"
+ }
+
+
pm::util::email \
-to_addr $to_address \
-from_addr $from_address \
@@ -1993,13 +2011,11 @@
} {
set use_uncertain_completion_times_p [parameter::get -parameter "UseUncertainCompletionTimesP" -default "1"]
# If we should round, we are not using the uncertain_completion_times
-ns_log Notice "round $round_p"
if {$round_p} {
set use_uncertain_completion_times_p 0
}
if {[string equal $use_uncertain_completion_times_p 1]} {
-ns_log Notice "uncertain"
if {[string equal $estimated_hours_work_min $estimated_hours_work_max]} {
set display_value "$estimated_hours_work_min"
} else {