Skip to content

Commit

Permalink
FIX: Change Ready to Mark to Ready for Feedback in text
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Jul 28, 2016
1 parent a9bd940 commit 2967784
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/common/services/task-service.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ angular.module("doubtfire.common.services.tasks", [])
fail: 'FAL'

taskService.statusLabels =
ready_to_mark: 'Ready to Mark'
ready_to_mark: 'Ready for Feedback'
not_started: 'Not Started'
working_on_it: 'Working On It'
need_help: 'Need Help'
Expand Down
2 changes: 1 addition & 1 deletion src/app/projects/project-viewer/project-viewer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ angular.module("doubtfire.projects.project-viewer", [])
else
# Show the first interesting task
if $scope.assessingUnitRole?
# Find first task that is Ready To Mark or Need Help
# Find first task that is Ready for Feedback or Need Help
t = _.find filteredTasks, (t) -> t.status == 'need_help' || t.status == 'ready_to_mark'
if not t? # else find discuss
t = _.find filteredTasks, (t) -> t.status == 'discuss' || t.status == 'demonstrate'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ <h4 class="panel-title" ng-hide="context=='task'">{{title}}</h4>
</div>
<div class="btn-group" ng-show="context == 'assess'">
<label class="btn btn-default" ng-model="statusFilter" btn-radio="'ready_to_mark'">
<i class="fa fa-thumbs-up" tooltip-placement="{{ fullscreen ? 'bottom' : 'top' }}" tooltip-append-to-body="true" tooltip="Show tasks that are ready to mark."></i>
<i class="fa fa-thumbs-up" tooltip-placement="{{ fullscreen ? 'bottom' : 'top' }}" tooltip-append-to-body="true" tooltip="Show tasks that are awaiting feedback."></i>
</label>
<label class="btn btn-default" ng-model="statusFilter" btn-radio="'need_help'">
<i class="fa fa-question" tooltip-placement="{{ fullscreen ? 'bottom' : 'top' }}" tooltip-append-to-body="true" tooltip="Show tasks that need help."></i>
Expand Down
1 change: 1 addition & 0 deletions src/app/tasks/task-viewer/task-viewer.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ angular.module('doubtfire.tasks.task-viewer', [])
$scope.setActiveTab($scope.tabs.taskSheet)
# Update the task grade if applicable
$scope.taskIsGraded = taskService.taskIsGraded newTask
$scope.numStars = newTask.definition.max_quality_pts

#
# Watch grade for changes
Expand Down

0 comments on commit 2967784

Please sign in to comment.