maatma: Fix legend on home page
This commit is contained in:
parent
c9a4de7a7d
commit
1e41b709c6
4 changed files with 8 additions and 1 deletions
|
@ -41,6 +41,7 @@ angular.module("AdLinApp")
|
|||
})
|
||||
.controller("StudentsProgressionController", function($scope, $interval, Progression) {
|
||||
$scope.tuto_progress = tuto_progress;
|
||||
$scope.tuto_legend = tuto_legend;
|
||||
$scope.stats = {};
|
||||
$scope.students = {};
|
||||
$scope.filterBadgeState = {};
|
||||
|
@ -105,6 +106,7 @@ angular.module("AdLinApp")
|
|||
})
|
||||
.controller("StudentProgressionController", function($scope, $interval, $http, Student, StudentProgression) {
|
||||
$scope.tuto_progress = tuto_progress;
|
||||
$scope.tuto_legend = tuto_legend;
|
||||
var refreshStd = function() {
|
||||
var student = Student.get({studentId: $scope.onestudent})
|
||||
student.$promise.then(function(stdnt) {
|
||||
|
@ -165,6 +167,7 @@ angular.module("AdLinApp")
|
|||
})
|
||||
.controller("ProgressionController", function($scope, $interval, $http) {
|
||||
$scope.tuto_progress = tuto_progress;
|
||||
$scope.tuto_legend = tuto_legend;
|
||||
$scope.mychallenges = {};
|
||||
var refreshChal = function() {
|
||||
$http.get("/api/students/" + $scope.student.id + "/progress").then(function(response) {
|
||||
|
|
|
@ -112,6 +112,7 @@ angular.module("AdLinApp")
|
|||
|
||||
.controller("ProgressionController", function($scope, $interval, $http) {
|
||||
$scope.tuto_progress = tuto_progress;
|
||||
$scope.tuto_legend = tuto_legend;
|
||||
|
||||
$scope.mychallenges = {};
|
||||
var refreshChal = function() {
|
||||
|
|
Reference in a new issue