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;
|
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() {
|
public Throwable getException() {
|
||||||
return exception;
|
return exception;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,7 @@
|
||||||
<td>#{task.started}</td>
|
<td>#{task.started}</td>
|
||||||
<td>
|
<td>
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="#{task.done}">
|
<c:when test="#{task.finished}">
|
||||||
#{AdminMessages['imexport.activeimports.table.columns.status.finished']}
|
#{AdminMessages['imexport.activeimports.table.columns.status.finished']}
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue