hardcoded strings in view
This commit is contained in:
@@ -632,8 +632,8 @@ var fillSpecialIndicatorFirstView = function(presenterData) {
|
|||||||
graph: {
|
graph: {
|
||||||
allowDrillDown:false,
|
allowDrillDown:false,
|
||||||
allowTransition:true,
|
allowTransition:true,
|
||||||
axisX:{ showAxis: true, label: "Group" },
|
axisX:{ showAxis: true, label: G_STRING['ID_GROUPS']},
|
||||||
axisY:{ showAxis: true, label: "Cost" },
|
axisY:{ showAxis: true, label: G_STRING['ID_COSTS']},
|
||||||
gridLinesX:false,
|
gridLinesX:false,
|
||||||
gridLinesY:true,
|
gridLinesY:true,
|
||||||
showTip: true,
|
showTip: true,
|
||||||
@@ -714,8 +714,8 @@ var fillSpecialIndicatorSecondView = function(presenterData) {
|
|||||||
gridLinesX: true,
|
gridLinesX: true,
|
||||||
gridLinesY: true,
|
gridLinesY: true,
|
||||||
area: {visible: false, css:"area"},
|
area: {visible: false, css:"area"},
|
||||||
axisX:{ showAxis: true, label: "User" },
|
axisX:{ showAxis: true, label: G_STRING['ID_USER'] },
|
||||||
axisY:{ showAxis: true, label: "Cost" },
|
axisY:{ showAxis: true, label: G_STRING['ID_COSTS'] },
|
||||||
showErrorBars: true
|
showErrorBars: true
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -724,7 +724,7 @@ var fillSpecialIndicatorSecondView = function(presenterData) {
|
|||||||
var indicatorPrincipalData = widgetBuilder.getIndicatorLoadedById(window.currentEntityData.indicatorId);
|
var indicatorPrincipalData = widgetBuilder.getIndicatorLoadedById(window.currentEntityData.indicatorId);
|
||||||
|
|
||||||
if (window.currentIndicator.type == "1010") {
|
if (window.currentIndicator.type == "1010") {
|
||||||
detailParams.graph.axisX.label = "Task";
|
detailParams.graph.axisX.label = G_STRING['ID_TASK'] ;
|
||||||
var graph = new BarChart(presenterData.dataToDraw, detailParams, null, null);
|
var graph = new BarChart(presenterData.dataToDraw, detailParams, null, null);
|
||||||
graph.drawChart();
|
graph.drawChart();
|
||||||
}
|
}
|
||||||
@@ -840,7 +840,7 @@ var fillGeneralIndicatorFirstView = function (presenterData) {
|
|||||||
allowDrillDown:false,
|
allowDrillDown:false,
|
||||||
allowTransition:true,
|
allowTransition:true,
|
||||||
axisX:{ showAxis: true, label: G_STRING.ID_YEAR },
|
axisX:{ showAxis: true, label: G_STRING.ID_YEAR },
|
||||||
axisY:{ showAxis: true, label: "Q" },
|
axisY:{ showAxis: true, label: G_STRING.ID_TIME_HOURS },
|
||||||
gridLinesX:false,
|
gridLinesX:false,
|
||||||
gridLinesY:true,
|
gridLinesY:true,
|
||||||
showTip: true,
|
showTip: true,
|
||||||
@@ -862,7 +862,7 @@ var fillGeneralIndicatorFirstView = function (presenterData) {
|
|||||||
allowDrillDown:false,
|
allowDrillDown:false,
|
||||||
allowTransition:true,
|
allowTransition:true,
|
||||||
axisX:{ showAxis: true, label: G_STRING.ID_YEAR },
|
axisX:{ showAxis: true, label: G_STRING.ID_YEAR },
|
||||||
axisY:{ showAxis: true, label: "Q" },
|
axisY:{ showAxis: true, label: G_STRING.ID_TIME_HOURS },
|
||||||
gridLinesX:false,
|
gridLinesX:false,
|
||||||
gridLinesY:true,
|
gridLinesY:true,
|
||||||
showTip: true,
|
showTip: true,
|
||||||
|
|||||||
@@ -325,15 +325,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="text-center huge" style="margin:0 auto; width:98%;">
|
<div class="text-center huge" style="margin:0 auto; width:98%;">
|
||||||
<div class="col-xs-4" style="width:auto;">
|
<div class="col-xs-4" style="width:auto;">
|
||||||
<div class="status-graph-title-low">Overdue:</div>
|
<div class="status-graph-title-low">{translate label="ID_OVERDUE"}:</div>
|
||||||
<div id="graph1" style="width:400px; height:300px;"></div>
|
<div id="graph1" style="width:400px; height:300px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-4" style="width:auto;">
|
<div class="col-xs-4" style="width:auto;">
|
||||||
<div class="status-graph-title-medium">At Risk:</div>
|
<div class="status-graph-title-medium">{translate label="ID_AT_RISK"}:</div>
|
||||||
<div id="graph2" style="width:400px; height:300px;"></div>
|
<div id="graph2" style="width:400px; height:300px;"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-xs-4" style="width:auto;">
|
<div class="col-xs-4" style="width:auto;">
|
||||||
<div class="status-graph-title-high">On Time:</div>
|
<div class="status-graph-title-high">{translate label="ID_ON_TIME"}:</div>
|
||||||
<div id="graph3" style="width:400px; height:300px;"></div>
|
<div id="graph3" style="width:400px; height:300px;"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user