Index: openacs-4/packages/project-manager/lib/project-portlet.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.adp,v
diff -u -r1.9 -r1.10
--- openacs-4/packages/project-manager/lib/project-portlet.adp 12 Aug 2005 06:02:54 -0000 1.9
+++ openacs-4/packages/project-manager/lib/project-portlet.adp 15 Aug 2005 08:22:59 -0000 1.10
@@ -28,8 +28,17 @@
@project.project_code@ |
-
+ #project-manager.Customer# |
+
+ @project.customer_name@ |
+
+
+ @project.customer_id@ |
+
+
+
+
#project-manager.Goal_1# |
@project.goal@ |
@@ -41,7 +50,7 @@
#project-manager.Open# / #project-manager.Close#
- #project-manager.Closed# (Rate)
+ #project-manager.Closed# (#project-manager.Rate#)
Index: openacs-4/packages/project-manager/lib/project-portlet.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/lib/project-portlet.tcl,v
diff -u -r1.10 -r1.11
--- openacs-4/packages/project-manager/lib/project-portlet.tcl 12 Aug 2005 06:02:54 -0000 1.10
+++ openacs-4/packages/project-manager/lib/project-portlet.tcl 15 Aug 2005 08:22:59 -0000 1.11
@@ -42,6 +42,12 @@
set edit_url "[ad_conn package_url]add-edit?[export_url_vars project_item_id]"
set variables(customer_id) $project(customer_id)
+set contacts_url [apm_package_url_from_key contacts]
+if {![empty_string_p contacts_url]} {
+ set project(customer_name) [contact::name -party_id $project(customer_id)]
+} else {
+ set project(customer_name) ""
+}
# ------------------
# Dynamic Attributes
# ------------------