NDD-60
This commit is contained in:
@@ -100,7 +100,7 @@ ViewDashboardPresenter.prototype.dashboardIndicatorsViewModel = function(data) {
|
|||||||
//to be sure that percentages sum up to 100 (the rounding will lost decimals)%
|
//to be sure that percentages sum up to 100 (the rounding will lost decimals)%
|
||||||
newObject.percentageOnTime = 100 - newObject.percentageOverdue - newObject.percentageAtRisk;
|
newObject.percentageOnTime = 100 - newObject.percentageOverdue - newObject.percentageAtRisk;
|
||||||
newObject.overdueVisibility = (newObject.percentageOverdue > 0)? "visible" : "hidden";
|
newObject.overdueVisibility = (newObject.percentageOverdue > 0)? "visible" : "hidden";
|
||||||
newObject.atRiskVisiblity = (newObject.percentageAtRisk > 0)? "visible" : "hidden";
|
newObject.atRiskVisibility = (newObject.percentageAtRisk > 0)? "visible" : "hidden";
|
||||||
newObject.onTimeVisibility = (newObject.percentageOnTime > 0)? "visible" : "hidden";
|
newObject.onTimeVisibility = (newObject.percentageOnTime > 0)? "visible" : "hidden";
|
||||||
returnList.push(newObject);
|
returnList.push(newObject);
|
||||||
i++;
|
i++;
|
||||||
@@ -174,7 +174,7 @@ ViewDashboardPresenter.prototype.peiViewModel = function(data) {
|
|||||||
var retval = {};
|
var retval = {};
|
||||||
retval = data;
|
retval = data;
|
||||||
|
|
||||||
this.makeShortLabel(graphData, 12);
|
this.makeShortLabel(graphData, 10);
|
||||||
retval.dataToDraw = this.adaptGraphData(graphData);
|
retval.dataToDraw = this.adaptGraphData(graphData);
|
||||||
|
|
||||||
//TODO aumentar el símbolo de moneda $
|
//TODO aumentar el símbolo de moneda $
|
||||||
|
|||||||
@@ -39,8 +39,7 @@
|
|||||||
.status-indicator-low,
|
.status-indicator-low,
|
||||||
.status-indicator-medium,
|
.status-indicator-medium,
|
||||||
.status-indicator-high {
|
.status-indicator-high {
|
||||||
padding:0px;
|
padding:30px 0px 0px 0;
|
||||||
padding-top:30px;
|
|
||||||
color:#444;
|
color:#444;
|
||||||
float:left;
|
float:left;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user