[Courses shown] rewording + more emphasis on warning

This commit is contained in:
joonas-a
2026-09-22 15:23:42 +03:00
parent 30d8b03485
commit 3ae0cb0249
2 changed files with 2 additions and 2 deletions
@@ -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>
) )