Index: openacs-4/packages/project-manager/lib/task-info-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-info-portlet.adp,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/project-manager/lib/task-info-portlet.adp 17 Sep 2005 10:23:36 -0000 1.5
+++ openacs-4/packages/project-manager/lib/task-info-portlet.adp 4 Nov 2005 22:17:38 -0000 1.6
@@ -16,7 +16,7 @@
- @task_term@ #@task_id@: @task_info.task_title@
+ @project_title@: @task_info.task_title@ (#@task_id@)
Index: openacs-4/packages/project-manager/lib/task-info-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/task-info-portlet.tcl,v
diff -u -r1.3 -r1.4
--- openacs-4/packages/project-manager/lib/task-info-portlet.tcl 17 Sep 2005 10:23:36 -0000 1.3
+++ openacs-4/packages/project-manager/lib/task-info-portlet.tcl 4 Nov 2005 22:17:38 -0000 1.4
@@ -24,8 +24,11 @@
set default_layout_url [parameter::get -parameter DefaultPortletLayoutP]
set task_id $task_info(item_id)
-set print_link "task-print?&task_id=$task_info(item_id)&project_item_id=$task_info(project_item_id)"
+set project_item_id $task_info(project_item_id)
+set print_link "task-print?&task_id=$task_info(item_id)&project_item_id=$project_item_id"
+set project_title [pm::project::name -project_item_id $project_item_id]
+
# Set the link to the permissions page
set permissions_url "[site_node::closest_ancestor_package -package_key subsite]/permissions/one?[export_vars {{object_id $task_id}}]"
Index: openacs-4/packages/project-manager/www/task-print.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/task-print.adp,v
diff -u -r1.2 -r1.3
--- openacs-4/packages/project-manager/www/task-print.adp 26 May 2005 09:34:29 -0000 1.2
+++ openacs-4/packages/project-manager/www/task-print.adp 4 Nov 2005 22:17:39 -0000 1.3
@@ -12,7 +12,10 @@
- @task_term@ #@task_id@: @task_info.task_title@ |
+
+ @project_title@
+ @task_term@ #@task_id@: @task_info.task_title@
+ |
Index: openacs-4/packages/project-manager/www/task-print.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/task-print.tcl,v
diff -u -r1.5 -r1.6
--- openacs-4/packages/project-manager/www/task-print.tcl 28 Jul 2005 10:57:56 -0000 1.5
+++ openacs-4/packages/project-manager/www/task-print.tcl 4 Nov 2005 22:17:39 -0000 1.6
@@ -78,6 +78,8 @@
set context_bar [ad_context_bar "one?project_item_id=$project_item_id $project_term" "[_ project-manager.View]"]
+set project_title [pm::project::name -project_item_id $project_item_id]
+
set comments [general_comments_get_comments -print_content_p 1 -print_attachments_p 1 $task_id "[ad_conn url]?task_id=$task_id"]
set comments_link [general_comments_create_link -object_name pm_task -link_text "Add a comment" -context_id $package_id $task_id "[ad_conn url]?task_id=$task_id"]
| |