Index: openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml,v diff -u -r1.37 -r1.38 --- openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml 14 Oct 2005 17:47:14 -0000 1.37 +++ openacs-4/packages/project-manager/catalog/project-manager.en_US.ISO-8859-1.xml 14 Oct 2005 18:51:06 -0000 1.38 @@ -474,6 +474,7 @@ <msg key="Project_Changes">Project Changes</msg> <msg key="Project_code">Project code</msg> <msg key="Project_codes">Project codes</msg> + <msg key="Project_Emails">Project Emails</msg> <msg key="Project_goal">Project goal</msg> <msg key="Project_goals">Project goals</msg> <msg key="Project_information">Project information</msg> @@ -583,6 +584,7 @@ <msg key="View_only_Observer">View only tasks where you are an observer</msg> <msg key="View_options">View options</msg> <msg key="View_project_changes">View project changes</msg> + <msg key="View_project_emails">View project emails</msg> <msg key="View_Revisions">View Revisions</msg> <msg key="View_task_changes">View task changes</msg> <msg key="View_this_revision">View this revision</msg> 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.16 -r1.17 --- openacs-4/packages/project-manager/lib/project-portlet.adp 12 Sep 2005 21:59:59 -0000 1.16 +++ openacs-4/packages/project-manager/lib/project-portlet.adp 14 Oct 2005 18:51:06 -0000 1.17 @@ -79,6 +79,9 @@ <li> <a href="project-revisions?project_item_id=@project_item_id@">#project-manager.View_project_changes#</a> </li> + <li> + <a href="project-emails?project_item_id=@project_item_id@">#project-manager.View_project_emails#</a> + </li> </ul> </td> </tr> Index: openacs-4/packages/project-manager/templates/project-one.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/project-one.adp,v diff -u -r1.12 -r1.13 --- openacs-4/packages/project-manager/templates/project-one.adp 4 Oct 2005 16:50:29 -0000 1.12 +++ openacs-4/packages/project-manager/templates/project-one.adp 14 Oct 2005 18:51:06 -0000 1.13 @@ -78,11 +78,6 @@ forum_id="@forum_id@" /> </if> <p /> - <p /> - <if @mt_installed_p@> - <include src="/packages/project-manager/lib/mail-portlet" project_item_id=@project_item_id@> - </if> - <p /> </td> </tr> </table> Index: openacs-4/packages/project-manager/templates/project-one.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/templates/project-one.tcl,v diff -u -r1.3 -r1.4 --- openacs-4/packages/project-manager/templates/project-one.tcl 4 Oct 2005 16:50:29 -0000 1.3 +++ openacs-4/packages/project-manager/templates/project-one.tcl 14 Oct 2005 18:51:07 -0000 1.4 @@ -54,5 +54,3 @@ set parent_name [pm::util::get_project_name -project_item_id $project(parent_id)] set context [list [list "one?project_item_id=$project(parent_id)" "$parent_name"] "$project(project_name)"] } - -set mt_installed_p [apm_package_installed_p "mail-tracking"] \ No newline at end of file Index: openacs-4/packages/project-manager/www/project-emails.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/project-emails.adp,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/project-manager/www/project-emails.adp 14 Oct 2005 18:51:07 -0000 1.1 @@ -0,0 +1,11 @@ +<master> + <property name="title">@title@</property> + <property name="context">@context@</property> + + <p /> + <if @mt_installed_p@> + <include src="/packages/project-manager/lib/mail-portlet" project_item_id=@project_item_id@> + </if> + <p /> + + Index: openacs-4/packages/project-manager/www/project-emails.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/project-manager/www/project-emails.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/packages/project-manager/www/project-emails.tcl 14 Oct 2005 18:51:07 -0000 1.1 @@ -0,0 +1,25 @@ +# + +ad_page_contract { + + Shows all the emails for a project + + @author Alex Kroman (alexk@bread.com) + @creation-date 2004-04-30 + @arch-tag: 339a6143-11a3-4f1b-902d-a3cd71f7d531 + @cvs-id $Id: project-emails.tcl,v 1.1 2005/10/14 18:51:07 alexk Exp $ + +} { + project_item_id:integer +} -properties { +} -validate { +} -errors { +} + +permission::require_permission -object_id $project_item_id -privilege "read" + +set title "[_ project-manager.Project_Emails]" + +set context [list "one?project_item_id=$project_item_id" "[_ project-manager.Project_1]" "[_ project-manager.Project_Emails]"] + +set mt_installed_p [apm_package_installed_p "mail-tracking"]