Another bugfix for the import, wrong property was used in XHTML file
parent
39920f42f3
commit
8893eebaff
|
|
@ -75,6 +75,18 @@ public class ImportTaskStatus implements Comparable<ImportTaskStatus> {
|
|||
this.status = status;
|
||||
}
|
||||
|
||||
public boolean isRunning() {
|
||||
return status == ImExportTaskStatus.RUNNING;
|
||||
}
|
||||
|
||||
public boolean isFinished() {
|
||||
return status == ImExportTaskStatus.FINISHED;
|
||||
}
|
||||
|
||||
public boolean isError() {
|
||||
return status == ImExportTaskStatus.ERROR;
|
||||
}
|
||||
|
||||
public Throwable getException() {
|
||||
return exception;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
<td>#{task.started}</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="#{task.done}">
|
||||
<c:when test="#{task.finished}">
|
||||
#{AdminMessages['imexport.activeimports.table.columns.status.finished']}
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
|
|
|
|||
Loading…
Reference in New Issue