[rt-devel] [PATCH] Spawn Child Button 3.0.9
Tammy Dugan
tdugan at progeny.com
Thu Feb 19 14:03:22 EST 2004
Attached is the patch applied to 3.0.9.
* Add "spawn child" functionality. And there was much rejoicing.
-------------- next part --------------
Index: misc/rt-enhancements/branches/3-0-9/html/Ticket/Create.html
===================================================================
--- misc/rt-enhancements/branches/3-0-9/html/Ticket/Create.html (revision 14776)
+++ misc/rt-enhancements/branches/3-0-9/html/Ticket/Create.html (revision 14778)
@@ -252,4 +252,8 @@
$MemberOf => undef
$QuoteTransaction => undef
$Queue => undef
+$spawn_child => undef
+$Priority => undef
+$DueDate => undef
+$ParentID => undef
</%ARGS>
Index: misc/rt-enhancements/branches/3-0-9/html/Ticket/Display.html
===================================================================
--- misc/rt-enhancements/branches/3-0-9/html/Ticket/Display.html (revision 14776)
+++ misc/rt-enhancements/branches/3-0-9/html/Ticket/Display.html (revision 14778)
@@ -34,6 +34,17 @@
<BR>
+<div style="text-align: right">
+<form action="Create.html" method="get">
+<input type="submit" value="Spawn child ticket">
+<input type="hidden" name="Queue" value="<%$TicketObj->QueueObj->Name%>">
+<input type="hidden" name="InitialPriority" value="<%$TicketObj->Priority%>">
+<input type="hidden" name="FinalPriority" value="<%$TicketObj->FinalPriority%>">
+<input type="hidden" name="Due" value="<%$TicketObj->DueObj->AsString%>">
+<input type="hidden" name="new-MemberOf" value="<%$TicketObj->Id%>">
+<input type="hidden" name="Owner" value="<%$TicketObj->Owner%>">
+</form>
+</div>
<& /Ticket/Elements/ShowHistory ,
Ticket => $TicketObj,
Collapsed => $ARGS{'Collapsed'},
More information about the Rt-devel
mailing list