Skip to content
Snippets Groups Projects
Commit 25876421 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

progress info added for project upload

parent 6d78051a
No related branches found
No related tags found
1 merge request!736Resolve "automatic Refresh - it would be nice to have"
Pipeline #9684 failed
...@@ -20,6 +20,8 @@ minerva (12.3.0~alpha.0) unstable; urgency=low ...@@ -20,6 +20,8 @@ minerva (12.3.0~alpha.0) unstable; urgency=low
whitespace, "_" used as separator (#596) whitespace, "_" used as separator (#596)
* Small improvement: list of references in drug panel contains PUBMED prefix * Small improvement: list of references in drug panel contains PUBMED prefix
(#666) (#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 * Small improvement: passwords to email account and ldap are not sent over
API (#732) API (#732)
* Small improvement: reactant/product/modifier specific colors are parsed * Small improvement: reactant/product/modifier specific colors are parsed
......
...@@ -221,6 +221,9 @@ MapsAdminPanel.prototype.projectToTableRow = function (project, row, user) { ...@@ -221,6 +221,9 @@ MapsAdminPanel.prototype.projectToTableRow = function (project, row, user) {
formattedProjectId = projectId; formattedProjectId = projectId;
} }
var status = project.getStatus(); var status = project.getStatus();
if (project.getStatus().toLowerCase() !== "ok" && project.getStatus().toLowerCase() !== "failure") {
status += ' (' + project.getProgress().toFixed(2) + ' %)';
}
if (project.hasErrors()) { if (project.hasErrors()) {
status += "<a name='showErrors' href='#' data='" + project.getProjectId() + "'>" + 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>" + "<i class='fa fa-exclamation-triangle' style='font-size:18px; font-weight:400; padding-right:10px;color:red'></i>" +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment