fixed speaker title when not present
This commit is contained in:
parent
f2f941f4d6
commit
fc63958640
1 changed files with 5 additions and 1 deletions
|
@ -132,7 +132,11 @@ public class Speaker_MongoDB_Impl extends Speaker implements MongoOperations<Spe
|
|||
tex.append("\\end{minipage}\n");
|
||||
tex.append("\\begin{minipage}{0.5\\textwidth}\n");
|
||||
tex.append("\\begin{tabular}{r l}\n");
|
||||
tex.append("Name & ").append(this.getTitle()).append(" ").append(this.getFirstName()).append(" ").append(this.getName()).append("\\\\\n");
|
||||
if (this.getTitle() != null) {
|
||||
tex.append("Name & ").append(this.getTitle()).append(" ").append(this.getFirstName()).append(" ").append(this.getName()).append("\\\\\n");
|
||||
} else {
|
||||
tex.append("Name & ").append(this.getFirstName()).append(" ").append(this.getName()).append("\\\\\n");
|
||||
}
|
||||
tex.append("Fraktion & ").append(this.getParty()).append("\\\\\n");
|
||||
if (this.getReligion() != null) {
|
||||
tex.append("Religion & ").append(this.getSterbedatum()).append("\\\\\n"); // only show if available
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue