         icon: taskService.statusIcons['ready_to_mark']
         text: taskService.statusLabels['ready_to_mark']
         class: 'ready-to-mark'
-        hide: false
+        hide: $scope.task.status in ['demonstrate', 'discuss', 'do_not_resubmit', 'complete', 'fail']
       need_help:
         icon: taskService.statusIcons['need_help']
         text: taskService.statusLabels['need_help']
         class: 'need-help'
-        hide: false
+        hide: $scope.task.status in ['demonstrate', 'discuss', 'do_not_resubmit', 'complete', 'fail']
       reupload_evidence:
         icon: 'fa fa-recycle'
         text: "new evidence for portfolio"

  controller: ($scope, $timeout, Task, taskService, alertService, projectService, groupService, analyticsService) ->
    # Upload types which are also task states
    UPLOAD_STATUS_TYPES = ['ready_to_mark', 'need_help']

    # States in the Wizard
    $scope.states = {


    # Switch the status if the upload type matches a state
    $scope.setUploadType = (type) ->
      $scope.uploadType = type

      if type in UPLOAD_STATUS_TYPES
        $scope.task.status = type

      if type in UPLOAD_TYPES
        # Progress to next state... depends on if it's a group task or not
        $scope.state = if $scope.isGroupTask and $scope.state isnt $scope.states.uploadFiles then $scope.states.groupMemberContribution else $scope.states.uploadFiles


    # When upload is successful, update the task status on the back-end
    $scope.onSuccess = (response) ->
