fixed party not showing in section of speech
This commit is contained in:
parent
e43dea4e36
commit
9332ceab03
1 changed files with 4 additions and 3 deletions
|
@ -85,15 +85,16 @@ public class Speech_MongoDB_Impl extends Speech_File_Impl implements Speech {
|
|||
public String toTeX() {
|
||||
StringBuilder tex = new StringBuilder();
|
||||
|
||||
String party = (this.getFraction() != null ? " (" + this.getFraction() + ")" : "");
|
||||
|
||||
String speechTitle = "Rede " +
|
||||
this.getSpeechKey() +
|
||||
"/" +
|
||||
getAgendaTitle(this.getSessionId(), this.getAgendaItemId()) +
|
||||
" von " +
|
||||
this.getSpeakerName() +
|
||||
" (" +
|
||||
this.getFraction() +
|
||||
") vom " +
|
||||
party +
|
||||
" vom " +
|
||||
getSessionDateTime(this.getSessionId());
|
||||
|
||||
tex.append("\\section*{").append(speechTitle).append("}\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue