admin: add a button to edit the raw flag value instead of the checksum
This commit is contained in:
parent
b205409679
commit
eee2cd6a2f
4 changed files with 46 additions and 18 deletions
|
@ -1341,6 +1341,10 @@ angular.module("FICApp")
|
|||
.controller("ExerciceFlagsController", function($scope, ExerciceFlag, $routeParams, $rootScope, $http) {
|
||||
$scope.flags = ExerciceFlag.query({ exerciceId: $routeParams.exerciceId });
|
||||
|
||||
$scope.changeValue = function(flag) {
|
||||
flag.value = undefined;
|
||||
flag.show_raw = true;
|
||||
}
|
||||
$scope.addFlag = function() {
|
||||
$scope.flags.push(new ExerciceFlag());
|
||||
}
|
||||
|
|
Reference in a new issue