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

ruz at bestpractical.com ruz at bestpractical.com
Mon Apr 16 09:41:53 EDT 2007


Author: ruz
Date: Mon Apr 16 09:41:52 2007
New Revision: 7526

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/etc/initialdata

Log:
 r4965 at cubic-pc:  cubic | 2007-04-16 17:42:46 +0400
 * add templates for reporting errors on encryption


Modified: rt/branches/3.7-EXPERIMENTAL/etc/initialdata
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/etc/initialdata	(original)
+++ rt/branches/3.7-EXPERIMENTAL/etc/initialdata	Mon Apr 16 09:41:52 2007
@@ -392,6 +392,31 @@
 Your ticket has been rejected by { eval { $Approval->OwnerObj->Name } }.
 '
     },
+    {  Queue       => 0,
+       Name        => "Error: public key",    # loc
+       Description =>
+         "Inform user that he has problems with public key and couldn't recieve encrypted content", # loc
+       Content => q{Subject: We have no your public key or it's wrong
+
+You received this message as we have no your public PGP key or we have a problem with your key. Inform the administrator about the problem.
+}
+    },
+    {  Queue       => 0,
+       Name        => "Error to RT owner: public key",    # loc
+       Description =>
+         "Inform RT owner that user(s) have problems with public keys", # loc
+       Content => q{Subject: Some users have problems with public keys
+
+You received this message as RT has problems with public keys of the following user:
+{
+    my $res = '';
+    foreach my $e ( @BadRecipients ) {
+        $res .= "* ". $e->{'Message'} ."\n";
+    }
+    $res
+}
+}
+    },
 );
 # }}}
 


More information about the Rt-commit mailing list