-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Courses tab] Rename show substitutions to include substitutions
- Loading branch information
1 parent
832546c
commit 5f33234
Showing
5 changed files
with
30 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
services/frontend/src/components/PopulationStudents/IncludeSubstitutionsToggle.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Radio } from 'semantic-ui-react' | ||
|
||
export const IncludeSubstitutionsToggle = ({ includeSubstitutions, toggleIncludeSubstitutions }) => { | ||
return ( | ||
<div style={{ marginTop: 15, marginBottom: 10 }}> | ||
<Radio | ||
checked={includeSubstitutions} | ||
label="Include substitutions" | ||
onChange={toggleIncludeSubstitutions} | ||
toggle | ||
/> | ||
</div> | ||
) | ||
} |
9 changes: 0 additions & 9 deletions
9
services/frontend/src/components/PopulationStudents/ShowSubstitutionsToggle.jsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters