fix(images): fix combined chart and todo

pull/3/head
alex 2016-02-22 12:03:41 +03:00
parent bbd02cdf13
commit be07b772b9
2 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,7 @@
.controller('combinedChartCtrl', combinedChartCtrl); .controller('combinedChartCtrl', combinedChartCtrl);
/** @ngInject */ /** @ngInject */
function combinedChartCtrl($element, layoutColors) { function combinedChartCtrl($element, layoutColors, layoutPaths) {
var id = $element[0].getAttribute('id'); var id = $element[0].getAttribute('id');
var chart = AmCharts.makeChart(id, { var chart = AmCharts.makeChart(id, {
"type": "serial", "type": "serial",
@ -227,7 +227,8 @@
"market2": 85, "market2": 85,
"sales1": 4, "sales1": 4,
"sales2": 7 "sales2": 7
}] }],
pathToImages: layoutPaths.images.amChart
}); });
} }

View File

@ -203,7 +203,7 @@ body.badmin-transparent {
position: absolute; position: absolute;
content: ''; content: '';
background-size: contain; background-size: contain;
background: url("/assets/img/app/todo/check-icon.png") no-repeat; background: url($images-root + "app/todo/check-icon.png") no-repeat;
} }
} }
} }