diff --git a/static/js/layout/controllers/home.controller.js b/static/js/layout/controllers/home.controller.js index c0585b40..cff072c0 100644 --- a/static/js/layout/controllers/home.controller.js +++ b/static/js/layout/controllers/home.controller.js @@ -25,7 +25,7 @@ $scope.isLoggedIn = Authentication.isAuthenticated(); $scope.account = Authentication.getAuthenticatedAccount(); - $scope.randomImg = 1+Math.floor(Math.random() * 6); + $scope.randomImg = 1+Math.floor(Math.random() * 5); $scope.data = { 'reddit': [{ diff --git a/static/templates/project/submission-review-tabular.html b/static/templates/project/submission-review-tabular.html index 5f67d806..6ac15714 100644 --- a/static/templates/project/submission-review-tabular.html +++ b/static/templates/project/submission-review-tabular.html @@ -197,15 +197,24 @@ - {{ task.status == review.status.ACCEPTED ? 'check_circle':'check_box_outline_blank' }} + {{ task.status == review.status.ACCEPTED ? 'check_circle':'done' }} + + {{ task.status == review.status.ACCEPTED? 'Approved': 'Approve task' }} + + - {{ task.status == review.status.RETURNED ? 'check_circle':'check_box_outline_blank' }} -
+ {{ task.status == review.status.RETURNED ? 'check_circle':'reply' }} + + {{ task.status == review.status.RETURNED? 'Returned': 'Return task for revision' }} + +
+ — +
{{ task.task }} @@ -313,7 +322,11 @@ - {{ task.status == review.status.ACCEPTED ? 'check_circle':'check_box_outline_blank' }} + {{ task.status == review.status.ACCEPTED ? 'check_circle':'done' }} + + {{ task.status == review.status.ACCEPTED? 'Approved': 'Approve task' }} + + - {{ task.status == review.status.RETURNED ? 'check_circle':'check_box_outline_blank' }} + {{ task.status == review.status.RETURNED ? 'check_circle':'reply' }} + + {{ task.status == review.status.RETURNED? 'Returned': 'Return task for revision' }} +
{{ task.task }}