[CS-Project-svn_notify] SF.net SVN: cs-project: [684] trunk/includes/content/project.inc
Brought to you by:
crazedsanity
From: <cra...@us...> - 2007-11-23 21:06:16
|
Revision: 684 http://cs-project.svn.sourceforge.net/cs-project/?rev=684&view=rev Author: crazedsanity Date: 2007-11-23 13:06:10 -0800 (Fri, 23 Nov 2007) Log Message: ----------- After re-linking an issue, the message now shows a link back to the previous project. Modified Paths: -------------- trunk/includes/content/project.inc Modified: trunk/includes/content/project.inc =================================================================== --- trunk/includes/content/project.inc 2007-11-23 20:51:27 UTC (rev 683) +++ trunk/includes/content/project.inc 2007-11-23 21:06:10 UTC (rev 684) @@ -183,9 +183,16 @@ $helpdeskObj->remark($linkIssue, $remarkDetails); if($linkRes) { + $oldIsHelpdesk = $proj->helpdeskObj->isHelpdeskIssue; + $proj->helpdeskObj->isHelpdeskIssue=FALSE; + $oldProjData = $proj->helpdeskObj->get_parent_record($issueData['ancestry']); + $proj->helpdeskObj->isHelpdeskIssue=$oldIsHelpdesk; + $oldProjLinkList = $proj->get_ancestry_link_list($oldProjData['public_id'], TRUE, TRUE, TRUE); + $page->set_message_wrapper(array( 'title' => "Issue Linked Successfully", - 'message' => "Issue #". $linkIssue ." was successfully linked to this project.", + 'message' => "Issue #". $linkIssue ." was successfully linked to this project.<BR><BR>" . + "<b>Back to old project:</b> [". $oldProjLinkList ."]", 'type' => "status" )); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |