Commit 25876421 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

progress info added for project upload

parent 6d78051a
......@@ -20,6 +20,8 @@ minerva (12.3.0~alpha.0) unstable; urgency=low
whitespace, "_" used as separator (#596)
* Small improvement: list of references in drug panel contains PUBMED prefix
(#666)
* Small improvement: list of projects is aut refreshed every 5 seconds if at
least one of the project is uploading/removing (#610)
* Small improvement: passwords to email account and ldap are not sent over
API (#732)
* Small improvement: reactant/product/modifier specific colors are parsed
......
......@@ -221,6 +221,9 @@ MapsAdminPanel.prototype.projectToTableRow = function (project, row, user) {
formattedProjectId = projectId;
}
var status = project.getStatus();
if (project.getStatus().toLowerCase() !== "ok" && project.getStatus().toLowerCase() !== "failure") {
status += ' (' + project.getProgress().toFixed(2) + ' %)';
}
if (project.hasErrors()) {
status += "<a name='showErrors' href='#' data='" + project.getProjectId() + "'>" +
"<i class='fa fa-exclamation-triangle' style='font-size:18px; font-weight:400; padding-right:10px;color:red'></i>" +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment