mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[Courses shown] rewording + more emphasis on warning
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ export const FilterDegreeCoursesModal = ({ degreeProgramme }: { degreeProgramme:
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Button onClick={() => setModalOpen(true)} startIcon={<VisibilityIcon />} variant="outlined">
|
<Button onClick={() => setModalOpen(true)} startIcon={<VisibilityIcon />} variant="outlined">
|
||||||
Manage shown courses
|
Manage course visibility
|
||||||
</Button>
|
</Button>
|
||||||
<Dialog maxWidth="md" onClose={() => setModalOpen(false)} open={modalOpen}>
|
<Dialog maxWidth="md" onClose={() => setModalOpen(false)} open={modalOpen}>
|
||||||
<DialogTitle>Degree programme settings</DialogTitle>
|
<DialogTitle>Degree programme settings</DialogTitle>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ const textContent = {
|
|||||||
export const ManageCoursesShownInfo = () => {
|
export const ManageCoursesShownInfo = () => {
|
||||||
const { getTextIn } = useLanguage()
|
const { getTextIn } = useLanguage()
|
||||||
return (
|
return (
|
||||||
<StyledMessage showIcon variant="outlined" severity="info" sx={{ mb: 2, maxWidth: '100%' }}>
|
<StyledMessage showIcon variant="outlined" severity="warning" sx={{ mb: 2, maxWidth: '100%' }}>
|
||||||
{getTextIn(textContent)}
|
{getTextIn(textContent)}
|
||||||
</StyledMessage>
|
</StyledMessage>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user