Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#12334] Instructor courses page: fix copy instructors from other courses modal checkbox #12369

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ exports[`CopyInstructorsFromOtherCoursesModalComponent should snap when instruct
<td>
<div>
<input
class="form-control no-shadow ng-untouched ng-pristine ng-valid"
class="form-check-input no-shadow ng-untouched ng-pristine ng-valid"
id="enabled-checkbox"
type="checkbox"
/>
Expand All @@ -339,7 +339,7 @@ exports[`CopyInstructorsFromOtherCoursesModalComponent should snap when instruct
<td>
<div>
<input
class="form-control no-shadow ng-untouched ng-pristine ng-valid"
class="form-check-input no-shadow ng-untouched ng-pristine ng-valid"
id="enabled-checkbox"
type="checkbox"
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ <h4 class="modal-title">Copy Instructors</h4>
<tr *ngFor="let instructorCandidate of course.instructorCandidates">
<td>
<div *ngIf="instructorCandidate.instructor.role === InstructorPermissionRole.INSTRUCTOR_PERMISSION_ROLE_CUSTOM" class="ngb-tooltip-class" ngbTooltip="This instructor has a customised access level and cannot be copied.">
<input disabled type="checkbox" class="form-control no-shadow">
<input disabled type="checkbox" class="form-check-input no-shadow">
</div>
<div *ngIf="instructorCandidate.instructor.role !== InstructorPermissionRole.INSTRUCTOR_PERMISSION_ROLE_CUSTOM">
<input id="enabled-checkbox" [disabled]="isCopyingSelectedInstructors" type="checkbox" class="form-control no-shadow" [(ngModel)]="instructorCandidate.isSelected">
<input id="enabled-checkbox" [disabled]="isCopyingSelectedInstructors" type="checkbox" class="form-check-input no-shadow" [(ngModel)]="instructorCandidate.isSelected">
</div>
</td>
<td>{{ instructorCandidate.instructor.name }}</td>
Expand Down