From c351de26eafe6ca9a7f1b8401b8103338713e7b1 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Sun, 13 Sep 2020 17:59:57 +0200 Subject: [PATCH] Add a button to filter correction list --- htdocs/js/atsebayt.js | 1 + htdocs/views/correction.html | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/htdocs/js/atsebayt.js b/htdocs/js/atsebayt.js index 857b94b..56c6547 100644 --- a/htdocs/js/atsebayt.js +++ b/htdocs/js/atsebayt.js @@ -286,6 +286,7 @@ angular.module("AtsebaytApp") }) .controller("QuestionController", function($scope, Survey, SurveyQuest, SurveyQuest, AllResponses, CorrectionTemplate, $http, $routeParams) { + $scope.notCorrected = true $scope.survey = Survey.get({ surveyId: $routeParams.surveyId }); $scope.survey.$promise.then(function(survey) { survey.start_availability = Date.parse(survey.start_availability) diff --git a/htdocs/views/correction.html b/htdocs/views/correction.html index 922cb71..b039c40 100644 --- a/htdocs/views/correction.html +++ b/htdocs/views/correction.html @@ -1,3 +1,8 @@ +
+ +

{{ survey.title }} @@ -11,7 +16,7 @@

-
+