[Rt-commit] rt branch, records_history, updated. rt-3.8.8-138-g8d0bf12
Ruslan Zakirov
ruz at bestpractical.com
Sun Sep 26 20:13:36 EDT 2010
The branch, records_history has been updated
via 8d0bf1225051dedd509e0344e1d74f9f2c507874 (commit)
via 6b2b43fa7d4d38621b18f0420c1276285b6e044d (commit)
via d3c5a5fb71708aa12c40f022c5dcd67a6ef93579 (commit)
from 9a75318b839ef53c2a2ef0f25a6f3ef1f05819ef (commit)
Summary of changes:
share/html/Elements/ShowTransaction | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit d3c5a5fb71708aa12c40f022c5dcd67a6ef93579
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Mon Sep 27 04:14:57 2010 +0400
minor
diff --git a/share/html/Elements/ShowTransaction b/share/html/Elements/ShowTransaction
index d180b58..b7636d6 100644
--- a/share/html/Elements/ShowTransaction
+++ b/share/html/Elements/ShowTransaction
@@ -76,7 +76,9 @@ if ( $Transaction->CustomFieldValues->Count ) {
$m->comp('/Elements/ShowCustomFields', Object => $Transaction );
}
$m->comp(
- '/Ticket/Elements/ShowTransactionAttachments', %ARGS, Parent => 0
+ '/Ticket/Elements/ShowTransactionAttachments',
+ %ARGS,
+ Parent => 0
) if $ShowBody;
</%PERL>
</div>
commit 6b2b43fa7d4d38621b18f0420c1276285b6e044d
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Mon Sep 27 04:15:20 2010 +0400
don't get attachments id we're not going to show body
diff --git a/share/html/Elements/ShowTransaction b/share/html/Elements/ShowTransaction
index b7636d6..2189114 100644
--- a/share/html/Elements/ShowTransaction
+++ b/share/html/Elements/ShowTransaction
@@ -131,7 +131,7 @@ my $time = '';
$time = loc('[quant,_1,min,min]', $Transaction->TimeTaken)
if $Transaction->TimeTaken;
-unless ( $Attachments ) {
+if ( $ShowBody && !$Attachments ) {
$ARGS{'Attachments'} = $Attachments = {};
my $attachments = $Transaction->Attachments;
commit 8d0bf1225051dedd509e0344e1d74f9f2c507874
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Mon Sep 27 04:16:09 2010 +0400
typo s/Takes/Taken/
diff --git a/share/html/Elements/ShowTransaction b/share/html/Elements/ShowTransaction
index 2189114..a5f29b2 100644
--- a/share/html/Elements/ShowTransaction
+++ b/share/html/Elements/ShowTransaction
@@ -230,7 +230,7 @@ $m->callback(
Classes => \@classes,
Actions => \@actions,
Created => \$date,
- TimeTakes => \$time,
+ TimeTaken => \$time,
Description => \$desc,
);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list