-
+
@@ -229,25 +229,23 @@
-
+
|
- Subprojects |
+ Subprojects |
|
-
-
+ |
+ @add_subproject_link;noquote@
-
|
+ |
Index: openacs-4/packages/project-manager/www/one.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/one.tcl,v
diff -u -r1.3 -r1.3.2.1
--- openacs-4/packages/project-manager/www/one.tcl 30 Apr 2005 07:17:46 -0000 1.3
+++ openacs-4/packages/project-manager/www/one.tcl 2 Dec 2005 20:02:41 -0000 1.3.2.1
@@ -172,7 +172,11 @@
set comments_link "Add comment"
+if {$use_subprojects_p} {
+ set add_subproject_link "Add subproject"
+}
+
# we can also get the link to the logger instance.
set logger_url [pm::util::logger_url]
set logger_project_url "$logger_url?project_id=$project(logger_project)"
@@ -215,10 +219,10 @@
set day_widget "Last Days"
-set my_title "$project_term \#$project_item_id: $project(project_name)"
+set my_title "$project(project_name)"
-set edit_url "[ad_conn package_url]add-edit?[export_url_vars project_item_id]"
+set edit_url "[ad_conn package_url]add-edit?[export_url_vars project_id project_item_id]"
# set up context bar, needs parent_id
if {[string equal $project(parent_id) $project_root]} {
@@ -416,8 +420,7 @@
-elements {
project_name {
label "Subject"
- link_url_col item_url
- link_html { title "View this subproject" }
+ display_template { @subproject.project_name@ }
}
actual_hours_completed {
label "Hours completed"
@@ -431,11 +434,6 @@
orderby_tasks {}
orderby_people {}
} \
- -orderby {
- project_name {orderby project_name}
- default_value project_name,desc
- } \
- -orderby_name orderby_subproject \
-html {
width 100%
}
@@ -444,7 +442,7 @@
db_multirow -extend { item_url } subproject project_subproject_query {
} {
- set item_url [export_vars -base "one" -override {{project_item_id $item_id}} {project_item_id}]
+ set item_url [export_vars -base "one" {project_item_id $item_id}]
}
}
@@ -487,7 +485,7 @@
}
-db_multirow -extend { item_url } subproject project_people_query {
+db_multirow -extend { item_url } people project_people_query {
} {
}
@@ -504,5 +502,6 @@
# end of customizations
+
ad_return_template
# ------------------------- END OF FILE ------------------------- #
Index: openacs-4/packages/project-manager/www/task-one.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/task-one.adp,v
diff -u -r1.2 -r1.2.2.1
--- openacs-4/packages/project-manager/www/task-one.adp 30 Apr 2005 06:59:34 -0000 1.2
+++ openacs-4/packages/project-manager/www/task-one.adp 2 Dec 2005 20:02:41 -0000 1.2.2.1
@@ -1,6 +1,6 @@
- @task_term@ #@task_id@:
+
@task_info.task_title;noquote@ @closed_message@
@context;noquote@
@project_item_id@
| |