Index: openacs-4/contrib/packages/project-manager/www/task-print-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-print-postgresql.xql,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/project-manager/www/task-print-postgresql.xql 27 Apr 2004 00:49:29 -0000 1.4 +++ openacs-4/contrib/packages/project-manager/www/task-print-postgresql.xql 17 May 2004 18:18:37 -0000 1.5 @@ -32,7 +32,7 @@ t.title as task_title, t.description, t.mime_type, - to_char(t.end_date,'Mon DD ''YY') as end_date, + to_char(current_timestamp,'Mon DD ''YY') as current_time, to_char(t.earliest_start,'Mon DD ''YY') as earliest_start, to_char(t.earliest_start,'J') as earliest_start_j, to_char(t.earliest_finish,'Mon DD ''YY') as earliest_finish, Index: openacs-4/contrib/packages/project-manager/www/task-print.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-print.adp,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/project-manager/www/task-print.adp 27 Apr 2004 00:49:29 -0000 1.4 +++ openacs-4/contrib/packages/project-manager/www/task-print.adp 17 May 2004 18:18:37 -0000 1.5 @@ -1,16 +1,18 @@ - + + +@task_term@ #@task_id@: @task_info.task_title@ + -@task_term@ #@task_id@: @task_info.task_title@ -@context_bar;noquote@ + -
+ + +
-
- - + - + +
@task_term@ #@task_id@: @task_info.task_title@@task_term@ #@task_id@: @task_info.task_title@
@@ -24,30 +26,59 @@
Work + +

Comments

@comments;noquote@ +
+ +

@show_comment_link;noquote@ + +

+
+ + + + + - + - + - + - + + - + + + + + + + +
@task_info.percent_complete@% completeAssignees
@task_info.estimated_hours_work_min@ - @task_info.estimated_hours_work_max@ hrs estimated
Slack time: @task_info.slack_time@Work
Dates@task_info.percent_complete@% complete
Deadline -@task_info.end_date@@task_info.estimated_hours_work_min@ - @task_info.estimated_hours_work_max@ hrs estimated
Slack time: @task_info.slack_time@
Dates
+ + + + + + + @@ -66,38 +97,33 @@ -
Now +@task_info.current_time@
Earliest start @task_info.earliest_start@
Latest finish @task_info.latest_start@
-
-

+ +@task_term@(s) this depends on. + -

+ + + + -
+ +@task_term@(s) depending on this @task_term@ + - - -

- -

@task_term@(s) this depends on.
- -

- -

@task_term@(s) depending on this @task_term@
+ + + + -
+ - + + + -
- - @comments;noquote@ - - - @show_comment_link;noquote@ - - -
+ + Index: openacs-4/contrib/packages/project-manager/www/task-print.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-print.tcl,v diff -u -r1.4 -r1.5 --- openacs-4/contrib/packages/project-manager/www/task-print.tcl 27 Apr 2004 00:49:29 -0000 1.4 +++ openacs-4/contrib/packages/project-manager/www/task-print.tcl 17 May 2004 18:18:37 -0000 1.5 @@ -92,10 +92,11 @@ # Task info ---------------------------------------------------------- db_1row task_query { } -column_array task_info -if {[string equal $task_info(mime_type) "text/plain"]} { - set task_info(description) [ad_text_to_html -- $task_info(description)] -} +set richtext_list [list $task_info(description) $task_info(mime_type)] + +set task_info(description) [template::util::richtext::get_property html_value $richtext_list] + set task_info(slack_time) [pm::task::slack_time \ -earliest_start_j $task_info(earliest_start_j) \ -today_j $task_info(today_j) \