[freeside-commits] freeside/rt/share/html/Ticket Display.html, 1.3, 1.4 Update.html, 1.1.1.3, 1.2
Mark Wells
mark at wavetail.420.am
Wed Feb 16 19:47:52 PST 2011
- Previous message: [freeside-commits] freeside/rt/lib/RT Attribute_Overlay.pm, 1.1.1.8, 1.2 CustomField_Overlay.pm, 1.3, 1.4 Record.pm, 1.9, 1.10 Ticket_Overlay.pm, 1.17, 1.18 Transaction_Overlay.pm, 1.5, 1.6
- Next message: [freeside-commits] freeside/rt/share/html/Ticket/Elements EditTransactionCustomFields, 1.1.1.3, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/rt/share/html/Ticket
In directory wavetail.420.am:/tmp/cvs-serv21777/share/html/Ticket
Modified Files:
Display.html Update.html
Log Message:
TimeWorked-like custom fields, RT#11168
Index: Display.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Display.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- Display.html 17 Feb 2011 00:52:26 -0000 1.3
+++ Display.html 17 Feb 2011 03:47:50 -0000 1.4
@@ -155,7 +155,7 @@
push @Actions, ProcessTicketBasics( ARGSRef => \%ARGS, TicketObj => $TicketObj );
push @Actions, ProcessTicketLinks( ARGSRef => \%ARGS, TicketObj => $TicketObj );
push @Actions, ProcessTicketDates( ARGSRef => \%ARGS, TicketObj => $TicketObj );
- push @Actions, ProcessObjectCustomFieldUpdates(ARGSRef => \%ARGS, TicketObj => $TicketObj );
+ push @Actions, ProcessTicketCustomFieldUpdates(ARGSRef => \%ARGS, TicketObj => $TicketObj );
# XXX: we shouldn't block actions here if user has no right to see the ticket,
# but we should allow him to see actions he has done
Index: Update.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/share/html/Ticket/Update.html,v
retrieving revision 1.1.1.3
retrieving revision 1.2
diff -u -w -d -r1.1.1.3 -r1.2
--- Update.html 17 Feb 2011 00:25:02 -0000 1.1.1.3
+++ Update.html 17 Feb 2011 03:47:50 -0000 1.2
@@ -65,8 +65,8 @@
<table width="100%" border="0">
% $m->callback(CallbackName => 'AfterTableOpens', ARGSRef => \%ARGS, Ticket => $TicketObj);
-<tr><td class="label"><&|/l&>Status</&>:</td>
-<td>
+<tr><td valign="baseline" class="label"><&|/l&>Status</&>:</td>
+<td valign="baseline">
<& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)", loc($TicketObj->Status)), Default => $ARGS{'Status'} || ($TicketObj->Status eq $DefaultStatus ? undef : $DefaultStatus)&>
<span class="label"><&|/l&>Owner</&>:</span>
<& /Elements/SelectOwner,
@@ -76,13 +76,23 @@
DefaultLabel => loc("[_1] (Unchanged)", $m->scomp('/Elements/ShowUser', User => $TicketObj->OwnerObj)),
Default => $ARGS{'Owner'}
&>
-<span class="label"><&|/l&>Worked</&>:</span>
-<& /Elements/EditTimeValue,
+</td>
+<td rowspan=4 valign="top">
+<table style="float:right;">
+<tr>
+<td class="label"><&|/l&>Worked</&>:</td>
+<td><& /Elements/EditTimeValue,
Name => 'UpdateTimeWorked',
Default => $ARGS{UpdateTimeWorked}||'',
InUnits => $ARGS{'UpdateTimeWorked-TimeUnits'}||'minutes',
&>
</td></tr>
+<& /Ticket/Elements/EditTransactionCustomFields,
+ %ARGS,
+ TicketObj => $TicketObj,
+ UILocation => 'TimeWorked',
+&>
+</table></td></tr>
% my $skip;
% $m->callback( %ARGS, CallbackName => 'BeforeUpdateType', skip => \$skip );
% if (!$skip) {
@@ -131,7 +141,7 @@
% }
% $m->callback( %ARGS, CallbackName => 'AfterGnuPG' );
-<tr><td class="label" valign="top"><&|/l&>Message</&>:</td><td>
+<tr><td class="label" valign="top"><&|/l&>Message</&>:</td><td colspan=2>
% $m->callback( %ARGS, CallbackName => 'BeforeMessageBox' );
% if (exists $ARGS{UpdateContent}) {
% # preserve QuoteTransaction so we can use it to set up sane references/in/reply to
- Previous message: [freeside-commits] freeside/rt/lib/RT Attribute_Overlay.pm, 1.1.1.8, 1.2 CustomField_Overlay.pm, 1.3, 1.4 Record.pm, 1.9, 1.10 Ticket_Overlay.pm, 1.17, 1.18 Transaction_Overlay.pm, 1.5, 1.6
- Next message: [freeside-commits] freeside/rt/share/html/Ticket/Elements EditTransactionCustomFields, 1.1.1.3, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list