Add missing mail template examples to site init

Add a few mail templates that were not being extracted during the
site init.

Also add missing mail template documentation.

Change-Id: I66773ad1ca74d834b29bd6a7f3ee190633e30dc1
This commit is contained in:
David Pursehouse 2012-09-27 20:53:22 +09:00 committed by Edwin Kempin
parent 49658c1ec5
commit 9f58cb5be2
2 changed files with 16 additions and 0 deletions

View File

@ -72,6 +72,13 @@ The `NewChange.vm` template will determine the contents of the email related
to a user submitting a new change for review. It is a `ChangeEmail`: see
`ChangeSubject.vm` and `ChangeFooter.vm`.
RebasedPatchSet.vm
~~~~~~~~~~~~~~~~~~
The `RebasedPatchSet.vm` template will determine the contents of the email
related to a user rebasing a patchset for a change through the Gerrit UI.
It is a `ChangeEmail`: see `ChangeSubject.vm` and `ChangeFooter.vm`.
RegisterNewEmail.vm
~~~~~~~~~~~~~~~~~~~
@ -92,6 +99,12 @@ The `Restored.vm` template will determine the contents of the email related
to a change being restored. It is a `ChangeEmail`: see `ChangeSubject.vm` and
`ChangeFooter.vm`.
Reverted.vm
~~~~~~~~~~~
The `Reverted.vm` template will determine the contents of the email related
to a change being reverted. It is a `ChangeEmail`: see `ChangeSubject.vm` and
`ChangeFooter.vm`.
Mail Variables and Methods

View File

@ -92,8 +92,11 @@ public class SitePathInitializer {
extractMailExample("Merged.vm");
extractMailExample("MergeFail.vm");
extractMailExample("NewChange.vm");
extractMailExample("RebasedPatchSet.vm");
extractMailExample("RegisterNewEmail.vm");
extractMailExample("ReplacePatchSet.vm");
extractMailExample("Restored.vm");
extractMailExample("Reverted.vm");
if (!ui.isBatch()) {
System.err.println();