]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/util/VerificationEntered.templ
add: send notification to applicant after successful verification
[gigi.git] / src / org / cacert / gigi / util / VerificationEntered.templ
diff --git a/src/org/cacert/gigi/util/VerificationEntered.templ b/src/org/cacert/gigi/util/VerificationEntered.templ
new file mode 100644 (file)
index 0000000..bf76549
--- /dev/null
@@ -0,0 +1,15 @@
+Subject: <?=_Verification entered?>
+
+<?=_Hi?>,
+
+<?=_RA-Agent ${agent} verified your name(s):?>
+<? foreach($names) { ?>
+<?=_${name}: with ${points} to total ${total} Verification Points.?>
+<? if($rem) { ?><?=_To issue client certificates with this name you need ${rem} more Verification Points.?>
+<? } ?><? if($gotGreater) { ?><?=_You can now issue client certificates with this name.?>
+<? } ?>
+<? } ?>
+<? if($remAll) { ?><?=_To apply for RA Agent status or code signing ability you need ${remAll} more Verification Points.?>
+<? } ?><? if($gotGreaterAll) { ?><?=_You can now apply for RA Agent status or code signing ability.?>
+<? } ?>
+<?=_RA DB?>