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.14 -r1.15 --- openacs-4/contrib/packages/project-manager/www/task-one.tcl 23 Aug 2003 00:24:34 -0000 1.14 +++ openacs-4/contrib/packages/project-manager/www/task-one.tcl 4 Sep 2003 22:45:23 -0000 1.15 @@ -9,22 +9,22 @@ @return task_term_lower Term to use for task @return assignee_term Term to use for assignee @return watcher_term Term to use for watcher - @return consts multirow that stores constraint information - @return consts multirow that stores constraint information for tasks that have constraints on this particular task + @return dependency multirow that stores dependency information + @return dependency2 multirow that stores dependency information for tasks that have dependencies on this particular task @param task_id item_id for the task @param project_item_id the item_id for the project. Used for navigational links @param project_id the revision_id for the project. Used for navigational links @param context_bar value for context bar creation @param orderby_revisions specifies how the revisions table will be sorted - @param orderby_consts specifies how the constraints will be sorted - @param orderby_consts2 specifies how the constraints will be sorted (for tasks that have constraints on this task) + @param orderby_dependency specifies how the dependencies will be sorted + @param orderby_dependency2 specifies how the dependencies will be sorted (for tasks that have dependencies on this task) } { task_id:integer,optional task_revision_id:integer,optional orderby_revisions:optional - orderby_consts:optional - orderby_consts2:optional + orderby_dependency:optional + orderby_dependency2:optional } -properties { task_info:onerow @@ -34,8 +34,8 @@ write_p:onevalue create_p:onevalue revisions:multirow - consts:multirow - consts2:multirow + dependency:multirow + dependency2:multirow task_term:onevalue task_term_lower:onevalue assignee_term:onevalue @@ -124,8 +124,8 @@ -orderby_name orderby_revisions \ -filters { task_revision_id {} - orderby_consts {} - orderby_consts2 {} + orderby_dependency {} + orderby_dependency2 {} } \ -html { width 100% @@ -137,26 +137,26 @@ set item_url [export_vars -base "task-one" -override {{task_revision_id $revision_id}} -exclude {revision_id} { revision_id task_id}] } -# Constraints info ------------------------------------------------ +# Dependency info ------------------------------------------------ template::list::create \ - -name consts \ - -multirow consts \ + -name dependency \ + -multirow dependency \ -key task_id \ -elements { - const_type { + dependency_type { label "Type" display_template { - + - + - + - + } @@ -169,7 +169,7 @@ } percent_complete { label "Status" - display_template "@consts.percent_complete@\%" + display_template "@dependency.percent_complete@\%" } end_date { label "Deadline" @@ -179,41 +179,41 @@ percent_complete {orderby percent_complete} end_date {orderby end_date} } \ - -orderby_name orderby_consts \ + -orderby_name orderby_dependency \ -filters { task_revision_id {} orderby_revisions {} - orderby_consts2 {} + orderby_dependency2 {} } \ -html { width 100% } -db_multirow -extend { item_url } consts consts_query { +db_multirow -extend { item_url } dependency dependency_query { } { set item_url [export_vars -base "task-one" -override {{task_id $parent_task_id}} { task_id }] } -# Constraints info (constraints other task have on this task) ------ +# Dependency info (dependency other task have on this task) ------ template::list::create \ - -name consts2 \ - -multirow consts2 \ + -name dependency2 \ + -multirow dependency2 \ -key task_id \ -elements { - const_type { + dependency_type { label "Type" display_template { - + - + - + - + } @@ -226,7 +226,7 @@ } percent_complete { label "Status" - display_template "@consts2.percent_complete@\%" + display_template "@dependency2.percent_complete@\%" } end_date { label "Deadline" @@ -236,18 +236,18 @@ percent_complete {orderby percent_complete} end_date {orderby end_date} } \ - -orderby_name orderby_consts2 \ + -orderby_name orderby_dependency2 \ -filters { task_revision_id {} orderby_revisions {} - orderby_consts {} + orderby_dependency {} } \ -html { width 100% } -db_multirow -extend { item_url } consts2 consts2_query { +db_multirow -extend { item_url } dependency2 dependency2_query { } { }