Index: openacs-4/contrib/packages/project-manager/www/task-one.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/project-manager/www/Attic/task-one.tcl,v
diff -u -r1.24.2.7 -r1.24.2.8
--- openacs-4/contrib/packages/project-manager/www/task-one.tcl 8 Oct 2004 21:25:05 -0000 1.24.2.7
+++ openacs-4/contrib/packages/project-manager/www/task-one.tcl 26 Oct 2004 01:21:11 -0000 1.24.2.8
@@ -145,6 +145,18 @@
}
+# if part of a process, offer link to process
+if {![empty_string_p $task_info(process_instance)]} {
+ set process_url [pm::process::url \
+ -process_instance_id $task_info(process_instance) \
+ -project_item_id $task_info(project_item_id) \
+ -fully_qualified_p "f"]
+ set process_name [pm::process::name \
+ -process_instance_id $task_info(process_instance)]
+ set process_html "$process_name"
+} else {
+ set process_html ""
+}
# set link to comments
@@ -156,11 +168,10 @@
# how to get back here
-set return_url [ad_return_url -qualified]
+set return_url [ad_return_url]
-set task_edit_url "task-add-edit?my_key=1&task_id=$task_id&return_url=$return_url"
+set task_edit_url [export_vars -base task-add-edit {{task_item_id $task_id} return_url project_item_id}]
-
set logger_project [pm::project::get_logger_project \
-project_item_id $task_info(project_item_id)]
@@ -327,7 +338,7 @@
-elements {
first_names {
label {
- Who
+ Who
}
display_template {
@people.user_info@