Templating
Modules generate documents from templates with JMustache. A template holds the layout; the module supplies the data.
What it is used for
| Output | Examples |
|---|---|
| Notifications: account creation, password reset, reminders, with names, dates and links filled in | |
| Sign-in sheets, certificates and reports | |
| Word documents | Standardized official documents with fields filled in |
Extensions
The platform adds three extensions to JMustache:
| Extension | What it adds |
|---|---|
| Translation | Templates are rendered in the member's language, from resource files holding the translations |
| Dates | Filters that format a date (dd/MM/yyyy, yyyy-MM-dd HH:mm) and add or subtract days, months or years in the template |
| Static resources | Images, style sheets and other resources included in the generated document, and content loaded from external files or from a database |
New Quarkus code uses Qute instead. See Migrating from Open ENT NG.