Skip to content
Snippets Groups Projects
Commit 1c69a677 authored by gnaegi's avatar gnaegi
Browse files

OO-3107 more fields for PDF certificates (only for HTML templates)

parent 0eac067f
No related branches found
No related tags found
No related merge requests found
...@@ -189,6 +189,14 @@ public class CertificatePhantomWorker { ...@@ -189,6 +189,14 @@ public class CertificatePhantomWorker {
private void fillRepositoryEntry(VelocityContext context) { private void fillRepositoryEntry(VelocityContext context) {
String title = entry.getDisplayname(); String title = entry.getDisplayname();
context.put("title", title); context.put("title", title);
String description = entry.getDescription();
context.put("description", description);
String requirements = entry.getRequirements();
context.put("requirements", requirements);
String objectives = entry.getObjectives();
context.put("objectives", objectives);
String credits = entry.getCredits();
context.put("credits", credits);
String externalRef = entry.getExternalRef(); String externalRef = entry.getExternalRef();
context.put("externalReference", externalRef); context.put("externalReference", externalRef);
String authors = entry.getAuthors(); String authors = entry.getAuthors();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment