[Rt-commit] r10068 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Mon Dec 24 18:46:46 EST 2007


Author: ruz
Date: Mon Dec 24 18:46:45 2007
New Revision: 10068

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction

Log:
 r9745 at cubic-pc (orig r9744):  sartak | 2007-11-26 22:10:02 +0300
  r45581 at onn:  sartak | 2007-11-26 14:09:51 -0500
  Safeguard ShowGnuPGStatus in ShowTransaction with "is GPG enabled?"
 


Modified: rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTransaction	Mon Dec 24 18:46:45 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