[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rt-commit
Subject:    [Rt-commit] r9744 - in rt/branches/3.7-RTIR-RELENG:
From:       sartak () bestpractical ! com
Date:       2007-11-26 19:10:02
Message-ID: 20071126191002.A58514D80F2 () diesel ! bestpractical ! com
[Download RAW message or body]

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@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 &>
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic