[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-34-g4d570a9
? sunnavy
sunnavy at bestpractical.com
Thu Sep 30 14:04:48 EDT 2010
The branch, 3.9-trunk has been updated
via 4d570a9963515f1b94ebcdbe91835a731440ca5f (commit)
from 26de28cb38f30b64d4d450e7d84c70d87970ace6 (commit)
Summary of changes:
share/html/Ticket/Elements/ShowTransaction | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 4d570a9963515f1b94ebcdbe91835a731440ca5f
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Oct 1 02:07:05 2010 +0800
'Create' is a 'message' only if it's on a ticket
diff --git a/share/html/Ticket/Elements/ShowTransaction b/share/html/Ticket/Elements/ShowTransaction
index 7717c3f..7dd55c0 100755
--- a/share/html/Ticket/Elements/ShowTransaction
+++ b/share/html/Ticket/Elements/ShowTransaction
@@ -69,7 +69,7 @@
</div>
<div class="content">
-% if ( $type_class eq 'message' && $Transaction->ObjectType eq 'RT::Ticket' ) {
+% if ( $type_class eq 'message' ) {
<& /Elements/ShowCustomFields, Object => $Transaction &>
% }
% $m->comp('ShowTransactionAttachments', %ARGS, Parent => 0) unless ($Collapsed ||!$ShowBody);
@@ -100,7 +100,6 @@ $WarnUnsigned => undef
<%ONCE>
my %class = (
- Create => 'message',
Correspond => 'message',
Comment => 'message',
@@ -124,6 +123,9 @@ $transdate =~ s/\s/ /g;
my ($type, $field) = ($Transaction->Type, $Transaction->Field || '');
my $type_class = $class{ $type };
+if ( $type eq 'Create' && $Transaction->ObjectType eq 'RT::Ticket' ) {
+ $type_class = 'message';
+}
unless ( $type_class ) {
if ( $field eq 'Owner' ) {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list