SEBSERV-358
This commit is contained in:
parent
f4bbdad2e7
commit
fa23debf4c
2 changed files with 7 additions and 8 deletions
|
@ -202,7 +202,7 @@ public class FinishedExam implements TemplateComposer {
|
||||||
.newAction(ActionDefinition.FINISHED_EXAM_EXPORT_CSV)
|
.newAction(ActionDefinition.FINISHED_EXAM_EXPORT_CSV)
|
||||||
.withEntityKey(examKey)
|
.withEntityKey(examKey)
|
||||||
.withExec(this::exportCSV)
|
.withExec(this::exportCSV)
|
||||||
.ignoreMoveAwayFromEdit()
|
.noEventPropagation()
|
||||||
.publish();
|
.publish();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -281,16 +281,15 @@ public class FinishedExamClientConnection implements TemplateComposer {
|
||||||
.compose(pageContext.copyOf(content));
|
.compose(pageContext.copyOf(content));
|
||||||
|
|
||||||
actionBuilder
|
actionBuilder
|
||||||
.newAction(ActionDefinition.FINISHED_EXAM_BACK_TO_OVERVIEW)
|
|
||||||
.withEntityKey(parentEntityKey)
|
|
||||||
.publishIf(isExamSupporter)
|
|
||||||
|
|
||||||
.newAction(ActionDefinition.FINISHED_EXAM_CLIENT_EXPORT_CSV)
|
.newAction(ActionDefinition.FINISHED_EXAM_CLIENT_EXPORT_CSV)
|
||||||
.withEntityKey(entityKey)
|
.withEntityKey(entityKey)
|
||||||
.withExec(this::exportCSV)
|
.withExec(this::exportCSV)
|
||||||
.ignoreMoveAwayFromEdit()
|
.noEventPropagation()
|
||||||
.publish();
|
.publishIf(isExamSupporter)
|
||||||
;
|
|
||||||
|
.newAction(ActionDefinition.FINISHED_EXAM_BACK_TO_OVERVIEW)
|
||||||
|
.withEntityKey(parentEntityKey)
|
||||||
|
.publishIf(isExamSupporter);
|
||||||
}
|
}
|
||||||
|
|
||||||
private String getClientTime(final ClientEvent event) {
|
private String getClientTime(final ClientEvent event) {
|
||||||
|
|
Loading…
Reference in a new issue