Skip to content

Commit

Permalink
Merge pull request doubtfire-lms#844 from ublefo/fix-missing-imports
Browse files Browse the repository at this point in the history
  • Loading branch information
jakerenzella authored May 14, 2024
2 parents 5e81bc1 + 659b52c commit f19eabd
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/app/projects/states/outcomes/outcomes.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ angular.module('doubtfire.projects.states.outcomes', [])
}
)

.controller("LearningOutcomesStateCtrl", ($scope, $rootScope, $timeout, outcomeService, newUnitService, Visualisation) ->
.controller("LearningOutcomesStateCtrl", ($scope, $rootScope, $timeout, alertService, outcomeService, newUnitService, Visualisation) ->
$scope.poaView = {
activeTab: 'list'
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/projects/states/portfolio/portfolio.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ angular.module('doubtfire.projects.states.portfolio', [
}
)

.controller("ProjectsPortfolioStateCtrl", ($scope, DoubtfireConstants, newTaskService, gradeService, analyticsService) ->
.controller("ProjectsPortfolioStateCtrl", ($scope, alertService, DoubtfireConstants, newTaskService, gradeService, analyticsService) ->
#
# Active task tab group
#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ angular.module('doubtfire.tasks.task-ilo-alignment.modals.task-ilo-alignment-mod
TaskILOAlignmentModal
)

.controller('TaskILOAlignmentModalCtrl', ($scope, $rootScope, $modalInstance, newTaskOutcomeAlignmentService, task, ilo, alignment, unit, project, source) ->
.controller('TaskILOAlignmentModalCtrl', ($scope, $rootScope, $modalInstance, alertService, newTaskOutcomeAlignmentService, task, ilo, alignment, unit, project, source) ->
$scope.source = source
$scope.unit = unit
$scope.task = task
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ angular.module('doubtfire.units.modals.unit-ilo-edit-modal', [])

UnitILOEditModalCtrl
)
.controller('UnitILOEditModalCtrl', ($scope, $modalInstance, ilo, unit, newLearningOutcomeService) ->
.controller('UnitILOEditModalCtrl', ($scope, $modalInstance, alertService, ilo, unit, newLearningOutcomeService) ->
prototypeIlo = { name: null, description: null, abbreviation: null }
$scope.ilo = ilo or prototypeIlo
$scope.isNew = !ilo?
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ angular.module('doubtfire.units.modals.unit-student-enrolment-modal', [])

UnitStudentEnrolmentModal
)
.controller('UnitStudentEnrolmentModalCtrl', ($scope, $modalInstance, unit, campusService, newProjectService) ->
.controller('UnitStudentEnrolmentModalCtrl', ($scope, $modalInstance, alertService, newUserService, unit, campusService, newProjectService) ->
$scope.unit = unit
$scope.projects = unit.students
$scope.campuses = []
Expand Down
2 changes: 1 addition & 1 deletion src/app/units/states/portfolios/portfolios.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ angular.module('doubtfire.units.states.portfolios', [])
roleWhitelist: ['Tutor', 'Convenor', 'Admin']
}
)
.controller("UnitPortfoliosStateCtrl", ($scope, analyticsService, gradeService, newProjectService, Visualisation, newTaskService, fileDownloaderService, newUserService) ->
.controller("UnitPortfoliosStateCtrl", ($scope, alertService, analyticsService, gradeService, newProjectService, Visualisation, newTaskService, fileDownloaderService, newUserService) ->
# TODO: (@alexcu) Break this down into smaller directives/substates

$scope.downloadGrades = -> fileDownloaderService.downloadFile($scope.unit.gradesUrl, "#{$scope.unit.code}-grades.csv")
Expand Down
2 changes: 1 addition & 1 deletion src/app/units/states/rollover/rollover.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ angular.module('doubtfire.units.states.rollover', [
roleWhitelist: ['Convenor', 'Admin']
}
)
.controller("RolloverUnitState", ($scope, $state, $stateParams, newUnitService, GlobalStateService) ->
.controller("RolloverUnitState", ($scope, $state, $stateParams, newUserService, alertService, newUnitService, GlobalStateService) ->
unitId = +$stateParams.unitId
return $state.go('home') unless unitId

Expand Down

0 comments on commit f19eabd

Please sign in to comment.