diff --git a/token-validator/htdocs/dashboard.html b/token-validator/htdocs/dashboard.html
index bb2daab..8827556 100644
--- a/token-validator/htdocs/dashboard.html
+++ b/token-validator/htdocs/dashboard.html
@@ -79,6 +79,9 @@
TP {{tutoid+1}}
+
+ Légende
+ {{ v }}
diff --git a/token-validator/htdocs/js/adlin-dashboard.js b/token-validator/htdocs/js/adlin-dashboard.js
index 65a72b5..0992265 100644
--- a/token-validator/htdocs/js/adlin-dashboard.js
+++ b/token-validator/htdocs/js/adlin-dashboard.js
@@ -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) {
diff --git a/token-validator/htdocs/js/adlin-main.js b/token-validator/htdocs/js/adlin-main.js
index c54b76a..2fa5cf0 100644
--- a/token-validator/htdocs/js/adlin-main.js
+++ b/token-validator/htdocs/js/adlin-main.js
@@ -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() {
diff --git a/token-validator/htdocs/views/home.html b/token-validator/htdocs/views/home.html
index cce75d5..27c3cb4 100644
--- a/token-validator/htdocs/views/home.html
+++ b/token-validator/htdocs/views/home.html
@@ -28,7 +28,7 @@
Légende
- {{ tuto_legend[k] }}
+ {{ v }}