diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetails/milestoneDetails.ts b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetails/milestoneDetails.ts index 1d7e5bddde..1a74fa280e 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetails/milestoneDetails.ts +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetails/milestoneDetails.ts @@ -148,7 +148,6 @@ class MilestoneDetailsController { const MilestoneDetails = { bindings: { milestone: '<', - hideStudentWork: '<', onShowWorkgroup: '&', onVisitNodeGrading: '&' }, @@ -198,12 +197,7 @@ const MilestoneDetails = { -
-
{{ ::'recommendations' | translate }}
- -
-
+
@@ -219,7 +213,7 @@ const MilestoneDetails = {
+ class="milestone-details__section md-whiteframe-1dp">
{{ ::'studentWork' | translate }}
diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.html b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.html index 986833bfc1..a5a26fe9d9 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.html +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.html @@ -6,7 +6,6 @@

{{ 'MILESTONE_DETAILS_TITLE' | translate : { name: $ctrl.milestone.name } }} diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.ts b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.ts index eaec3e2d0b..769e59dca6 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.ts +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/milestones/milestoneDetailsDialog/milestoneDetailsDialog.ts @@ -6,7 +6,6 @@ export class MilestoneDetailsDialog { '$mdDialog', '$event', 'milestone', - 'hideStudentWork', 'TeacherDataService' ]; @@ -15,7 +14,6 @@ export class MilestoneDetailsDialog { private $mdDialog, private $event, private milestone, - private hideStudentWork, private TeacherDataService ) {} diff --git a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/nodeGradingView/nodeGradingView.ts b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/nodeGradingView/nodeGradingView.ts index d4610933e4..8edd9555ca 100644 --- a/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/nodeGradingView/nodeGradingView.ts +++ b/src/assets/wise5/classroomMonitor/classroomMonitorComponents/nodeGrading/nodeGradingView/nodeGradingView.ts @@ -366,7 +366,7 @@ export class NodeGradingViewController { } showReport($event) { - this.MilestoneService.showMilestoneDetails(this.milestoneReport, $event, true); + this.MilestoneService.showMilestoneDetails(this.milestoneReport, $event); } } diff --git a/src/assets/wise5/services/milestoneService.ts b/src/assets/wise5/services/milestoneService.ts index 7841fa8c24..c8a4eccaa2 100644 --- a/src/assets/wise5/services/milestoneService.ts +++ b/src/assets/wise5/services/milestoneService.ts @@ -573,7 +573,7 @@ export class MilestoneService { projectAchievement.isReportAvailable = reportAvailable; } - showMilestoneDetails(milestone: any, $event: any, hideStudentWork: boolean = false) { + showMilestoneDetails(milestone: any, $event: any) { this.upgrade.$injector.get('$mdDialog').show({ parent: angular.element(document.body), templateUrl: @@ -587,8 +587,7 @@ export class MilestoneService { escapeToClose: true, locals: { $event: $event, - milestone: milestone, - hideStudentWork: hideStudentWork + milestone: milestone } }); }