squash! WIP: apply a coeff on given points
This commit is contained in:
parent
b30f3b18e6
commit
6d5ded2c3b
6 changed files with 29 additions and 24 deletions
|
|
@ -30,6 +30,7 @@ func genStats() (interface{}, error) {
|
|||
exos[fmt.Sprintf("%d", exercice.Id)] = fic.ExportedExercice{
|
||||
exercice.Title,
|
||||
exercice.Gain,
|
||||
exercice.Coefficient,
|
||||
exercice.SolvedCount(),
|
||||
exercice.TriedTeamCount(),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@ angular.module("FICApp")
|
|||
$scope.exercice = Exercice.get({ exerciceId: $routeParams.exerciceId });
|
||||
}
|
||||
$scope.exercices = Exercice.query();
|
||||
$scope.fields = ["title", "statement", "depend", "gain", "videoURI"];
|
||||
$scope.fields = ["title", "statement", "depend", "gain", "coefficient", "videoURI"];
|
||||
|
||||
$scope.saveExercice = function() {
|
||||
if (this.exercice.id) {
|
||||
|
|
|
|||
Reference in a new issue