Index: openacs-4/packages/project-manager/lib/tasks.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/tasks.tcl,v
diff -u -r1.48 -r1.49
--- openacs-4/packages/project-manager/lib/tasks.tcl 7 Jan 2006 07:21:16 -0000 1.48
+++ openacs-4/packages/project-manager/lib/tasks.tcl 19 Jan 2006 07:36:23 -0000 1.49
@@ -58,7 +58,7 @@
}
if ![exists_and_not_null page_size] {
- set page_size 25
+ set page_size 10000
}
if ![info exists orderby_p] {
@@ -403,7 +403,7 @@
}
party_id {
label "[_ project-manager.Who]"
- display_template { @tasks.assignee_name@
+ display_template {
}
}
role {
@@ -483,19 +483,10 @@
-
-
-
-
- @tasks.assignee_name@
-
-
-
-
+ @tasks.assignee_name@
-
}
}
@@ -565,7 +556,8 @@
project_url \
project_status \
assignee_name \
- red_title_p]
+ red_title_p \
+ role_type]
db_multirow -extend $extend_list tasks tasks " " {
@@ -578,6 +570,15 @@
break
}
+ # Set the role_type, distinguishing leader,players and watchers
+ if {$is_lead_p} {
+ set role_type "lead"
+ } elseif {$is_observer_p} {
+ set role_type "observer"
+ } else {
+ set role_type "player"
+ }
+
if { $assign_group_p } {
# We are going to show all asignees including groups
if { $user_instead_full_p } {
@@ -611,10 +612,10 @@
set edit_url [export_vars \
-base "task-add-edit" {{task_id $task_item_id} project_item_id return_url}]
- if {[parameter::get -parameter "UseDayInsteadOfHour"] == "f"} {
- set fmt "%x %X"
- } else {
+ if {[parameter::get -parameter "UseDayInsteadOfHour"] == "t"} {
set fmt "%x"
+ } else {
+ set fmt "%x %X"
}
set earliest_start_pretty [lc_time_fmt $earliest_start $fmt]