[CS-Project-svn_notify] SF.net SVN: cs-project: [705] trunk
Brought to you by:
crazedsanity
From: <cra...@us...> - 2007-12-18 22:52:20
|
Revision: 705 http://cs-project.svn.sourceforge.net/cs-project/?rev=705&view=rev Author: crazedsanity Date: 2007-12-18 14:52:16 -0800 (Tue, 18 Dec 2007) Log Message: ----------- Use block rows to display input or text for open/closed issue (#119). Modified Paths: -------------- trunk/includes/content/helpdesk.inc trunk/templates/content/helpdesk/view.content.tmpl Modified: trunk/includes/content/helpdesk.inc =================================================================== --- trunk/includes/content/helpdesk.inc 2007-12-18 22:19:20 UTC (rev 704) +++ trunk/includes/content/helpdesk.inc 2007-12-18 22:52:16 UTC (rev 705) @@ -279,9 +279,13 @@ $assignedStr = $helpdeskData['leader_contact_id']; if($helpdeskData['status_id'] == 4) { //allow the current user to re-open this issue. + $doNotRipRows[] = "assigned_text"; + $doNotRipRows[] = "priority_text"; $doNotRipRows[] = "reopen_button"; } else { + $doNotRipRows[] = "assigned_optionList"; + $doNotRipRows[] = "priority_optionList"; if(($assignedStr == $_SESSION['contact_id']) || ($assignedStr == "" || is_null($assignedStr))) { //well, we can show 'em the update/modify button. $doNotRipRows[] = "update_button"; Modified: trunk/templates/content/helpdesk/view.content.tmpl =================================================================== --- trunk/templates/content/helpdesk/view.content.tmpl 2007-12-18 22:19:20 UTC (rev 704) +++ trunk/templates/content/helpdesk/view.content.tmpl 2007-12-18 22:52:16 UTC (rev 705) @@ -26,19 +26,27 @@ <tr> <td style="border-left:solid #000 1px;border-top:solid #000 1px;">Assigned: </td> <td style="border-right:solid #000 1px;border-top:solid #000 1px;" nowrap> + <!-- BEGIN assigned_optionList --> <select name="updates[leader_contact_id]"> {user_assign_list} </select> [<b>{assigned}</b>] + <!-- END assigned_optionList --> + <!-- BEGIN assigned_text --><b>{assigned}</b> + <!-- END assigned_text --> </td> </tr> <tr> <td style="border-left:solid #000 1px;">Priority: </td> <td style="border-right:solid #000 1px"> + <!-- BEGIN priority_optionList --> <select name="updates[priority]"> {select_priority_list} </select> + <!-- END priority_optionList --> + <!-- BEGIN priority_text --> {priority} + <!-- END priority_text --> </td> </tr> <tr> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |