Convert the Abandoned and MergeFail email classes to templates

Convert the AbandonedSender and MergeFailSender classes to use
file based velocity templates which an admin may edit.

Change-Id: I5eae65a46aea074ef25bfc259c013f9be91fdc2f
This commit is contained in:
Martin Fick
2010-07-21 11:46:21 -06:00
parent 382e0a8972
commit 40ed99f805
6 changed files with 99 additions and 14 deletions

View File

@@ -85,10 +85,12 @@ public class SitePathInitializer {
extract(site.gerrit_sh, Init.class, "gerrit.sh");
chmod(0755, site.gerrit_sh);
extractMailExample("Abandoned.vm");
extractMailExample("ChangeFooter.vm");
extractMailExample("ChangeSubject.vm");
extractMailExample("Comment.vm");
extractMailExample("Merged.vm");
extractMailExample("MergeFail.vm");
if (!ui.isBatch()) {
System.err.println();