[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-196-gf009d3e
Kevin Falcone
falcone at bestpractical.com
Tue Mar 9 17:28:34 EST 2010
The branch, 3.8-trunk has been updated
via f009d3e0f9f431a227be22636a380ae840c8ddff (commit)
via b7493bb4e68b4b98d17882432601975f983c0d38 (commit)
via bac07cd3457d420daf15513aeccb03f4c6186355 (commit)
via 4c30a5707616b15d24864e97a635c8edecd05804 (commit)
via e03cf1d566decc5ad9d03f3fd7e08efc041bb1cc (commit)
via 9121c4d164b9153ffa549021fb819e782a8bb5fe (commit)
via 1f5dddbdfbfe23e8cc31705e666cdcc5d5a70081 (commit)
from 0cd457dc6ec08aff3ea0a5b52a3b1efccb3786eb (commit)
Summary of changes:
share/html/Admin/Elements/EditScrip | 1 +
share/html/Elements/ShowCustomFields | 2 ++
share/html/Ticket/Create.html | 1 +
share/html/Ticket/Elements/EditCustomFields | 2 ++
.../Ticket/Elements/EditTransactionCustomFields | 2 ++
share/html/Ticket/Update.html | 5 ++++-
6 files changed, 12 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 1f5dddbdfbfe23e8cc31705e666cdcc5d5a70081
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 09:29:39 2010 -0600
Use a reasonable length for scrip descriptions
Many of the descriptions of "default" scrips are too long to read when
editing scrips. There is plenty of real estate to increase the size of
this input box, it also looks a bit more standardized considering many
of the input elements under share/html/ have a size of 60.
diff --git a/share/html/Admin/Elements/EditScrip b/share/html/Admin/Elements/EditScrip
index 29ec71c..2bcf64d 100755
--- a/share/html/Admin/Elements/EditScrip
+++ b/share/html/Admin/Elements/EditScrip
@@ -56,6 +56,7 @@
<tr><td align="right"><&|/l&>Description</&>:</td><td>
<input name="Scrip-<% $id %>-Description"
+ size="60"
value="<% $ARGS{"Scrip-$id-Description"} || $scrip->Description || '' %>" />
</td></tr>
commit 9121c4d164b9153ffa549021fb819e782a8bb5fe
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 09:49:19 2010 -0600
Add Before and After CustomFields callbacks
diff --git a/share/html/Elements/ShowCustomFields b/share/html/Elements/ShowCustomFields
index 676606f..b60c49a 100644
--- a/share/html/Elements/ShowCustomFields
+++ b/share/html/Elements/ShowCustomFields
@@ -45,6 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+% $m->callback( CallbackName => 'BeforeCustomFields' );
% if ($Table) {
<table>
% }
@@ -73,6 +74,7 @@
% if ($Table) {
</table>
% }
+% $m->callback( CallbackName => 'AfterCustomFields', Object => $Object );
<%INIT>
$m->callback(
CallbackName => 'MassageCustomFields',
commit e03cf1d566decc5ad9d03f3fd7e08efc041bb1cc
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 09:55:47 2010 -0600
Added AfterSubject callback
diff --git a/share/html/Ticket/Create.html b/share/html/Ticket/Create.html
index 6ecad01..eeff899 100755
--- a/share/html/Ticket/Create.html
+++ b/share/html/Ticket/Create.html
@@ -112,6 +112,7 @@
</td>
<td class="value" colspan="5">
<input name="Subject" size="60" maxsize="200" value="<%$ARGS{Subject} || ''%>" />
+% $m->callback( %ARGS, CallbackName => 'AfterSubject' );
</td>
</tr>
<tr>
commit 4c30a5707616b15d24864e97a635c8edecd05804
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 10:02:28 2010 -0600
Added Before and After CustomFields callbacks
diff --git a/share/html/Ticket/Elements/EditCustomFields b/share/html/Ticket/Elements/EditCustomFields
index c3a44ee..5478c78 100755
--- a/share/html/Ticket/Elements/EditCustomFields
+++ b/share/html/Ticket/Elements/EditCustomFields
@@ -45,6 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+% $m->callback( %ARGS, CallbackName => 'BeforeCustomFields' );
<table>
% my $i = 0;
% while ( my $CustomField = $CustomFields->Next ) {
@@ -85,6 +86,7 @@
% }
</table>
+% $m->callback( %ARGS, CallbackName => 'AfterCustomFields', TicketObj => $TicketObj, QueueObj => $QueueObj );
<%INIT>
my $CustomFields;
commit bac07cd3457d420daf15513aeccb03f4c6186355
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 10:05:01 2010 -0600
Added Before and After TransactionCustomFields callbacks
diff --git a/share/html/Ticket/Elements/EditTransactionCustomFields b/share/html/Ticket/Elements/EditTransactionCustomFields
index 8bf939d..a58dded 100644
--- a/share/html/Ticket/Elements/EditTransactionCustomFields
+++ b/share/html/Ticket/Elements/EditTransactionCustomFields
@@ -45,6 +45,7 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
+% $m->callback( CallbackName => 'BeforeTransactionCustomFields', TicketObj => $TicketObj, QueueObj => $QueueObj, NamePrefix => $NamePrefix );
% if ($CustomFields->Count) {
% while (my $CF = $CustomFields->Next()) {
% next unless $CF->CurrentUserHasRight('ModifyCustomField');
@@ -60,6 +61,7 @@
</td></tr>
% }
% }
+% $m->callback( CallbackName => 'AfterTransactionCustomFields', TicketObj => $TicketObj, QueueObj => $QueueObj, NamePrefix => $NamePrefix );
<%INIT>
my $CustomFields;
commit b7493bb4e68b4b98d17882432601975f983c0d38
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 10:09:23 2010 -0600
Added AfterSubject callback
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index 79e0f99..09ba8a0 100755
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -99,7 +99,9 @@
</select>
% $m->callback( %ARGS, CallbackName => 'AfterUpdateType' );
</td></tr>
-<tr><td class="label"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>" /></td></tr>
+<tr><td class="label"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>" />
+% $m->callback( %ARGS, CallbackName => 'AfterSubject' );
+</td></tr>
<& /Ticket/Elements/UpdateCc, %ARGS, TicketObj => $TicketObj &>
commit f009d3e0f9f431a227be22636a380ae840c8ddff
Author: Matt Zagrabelny <mzagrabe at d.umn.edu>
Date: Fri Feb 19 14:30:39 2010 -0600
callback added between the GnuPG and message rows
Edited by falcone to rename callback to AfterGnuPG rather
than RowAfterGnuPG
diff --git a/share/html/Ticket/Update.html b/share/html/Ticket/Update.html
index 09ba8a0..9bce7de 100755
--- a/share/html/Ticket/Update.html
+++ b/share/html/Ticket/Update.html
@@ -129,6 +129,7 @@
&>
</td></tr>
% }
+% $m->callback( %ARGS, CallbackName => 'AfterGnuPG' );
<tr><td class="label" valign="top"><&|/l&>Message</&>:</td><td>
% $m->callback( %ARGS, CallbackName => 'BeforeMessageBox' );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list