[Rt-commit] r9744 - in rt/branches/3.7-RTIR-RELENG:
html/Ticket/Elements
sartak at bestpractical.com
sartak at bestpractical.com
Mon Nov 26 14:10:02 EST 2007
Author: sartak
Date: Mon Nov 26 14:10:02 2007
New Revision: 9744
Modified:
rt/branches/3.7-RTIR-RELENG/ (props changed)
rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowTransaction
Log:
r45581 at onn: sartak | 2007-11-26 14:09:51 -0500
Safeguard ShowGnuPGStatus in ShowTransaction with "is GPG enabled?"
Modified: rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.7-RTIR-RELENG/html/Ticket/Elements/ShowTransaction Mon Nov 26 14:10:02 2007
@@ -65,7 +65,9 @@
<tr>
<td colspan="4" class="content">
% if ( $Attachments->[0] && $Attachments->[0]->id ) {
- <& ShowGnuPGStatus, Attachment => $Attachments->[0], WarnUnsigned => $WarnUnsigned &>
+% if (RT->Config->Get('GnuPG')->{'Enable'}) {
+ <& ShowGnuPGStatus, Attachment => $Attachments->[0], WarnUnsigned => $WarnUnsigned &>
+% }
% }
% if ( $Transaction->CustomFieldValues->Count ) {
<& /Elements/ShowCustomFields, Object => $Transaction &>
More information about the Rt-commit
mailing list