Skip to content

Commit

Permalink
Issue #000 fix: ui issues
Browse files Browse the repository at this point in the history
  • Loading branch information
vaivk369 committed Feb 22, 2024
1 parent 01500ef commit 1db4bc5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion packages/cohort/src/pages/CohortList.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function CohortList() {
data={classes.map((item, index) => {
return {
title:
(item?.parentName ? item?.parentName + ", " : "") +
(item?.parentName ? item?.parentName + ", " : "") + " Level " +
(item?.name ? item?.name : "") +
(item?.section ? " • Sec " + item?.section : ""),
subTitle: t("CLASS_TEACHER"),
Expand Down
14 changes: 7 additions & 7 deletions packages/common-lib/src/config/footerLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ export default [
route: '/cohorts',
routeparameters: {}
},
{
title: 'ADMIN',
icon: 'GovernmentLineIcon',
moduleName: 'admin',
route: '/admin',
routeparameters: {}
},
// {
// title: 'ADMIN',
// icon: 'GovernmentLineIcon',
// moduleName: 'admin',
// route: '/admin',
// routeparameters: {}
// },
// {
// title: 'TEACHING',
// icon: 'BookOpenLineIcon',
Expand Down
12 changes: 6 additions & 6 deletions packages/profile/src/components/SelfAttendanceSheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ export default function SelfAttendanceSheet({
>
{t("CLOSE")}
</Button>
<Button
{/* <Button
flex="1"
mr="5px"
colorScheme="button"
Expand All @@ -459,7 +459,7 @@ export default function SelfAttendanceSheet({
}}
>
{t("GO_TO_PROFILE")}
</Button>
</Button> */}
</Button.Group>
)}
</VStack>
Expand Down Expand Up @@ -704,7 +704,7 @@ export default function SelfAttendanceSheet({
</Button>
) : (
<Button.Group m="5">
<Button
{/* <Button
flex="1"
mr="5px"
colorScheme="button"
Expand All @@ -713,7 +713,7 @@ export default function SelfAttendanceSheet({
_text={{ textTransform: "uppercase" }}
>
{t("GO_TO_PROFILE")}
</Button>
</Button> */}
<Button
flex="1"
ml="5px"
Expand Down Expand Up @@ -831,15 +831,15 @@ export default function SelfAttendanceSheet({
</Button>
) : (
<Button.Group m="5">
<Button
{/* <Button
flex="1"
mr="5px"
colorScheme="button"
variant={"outline"}
onPress={(e) => navigate("/profile")}
>
{t("GO_TO_PROFILE")}
</Button>
</Button> */}
<Button
flex="1"
ml="5px"
Expand Down
2 changes: 1 addition & 1 deletion packages/teacher-app/src/pages/Generic.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ function Generic({ footerLinks, appName, setAlert }) {
size="lg"
style={{ borderRadius: "50%" }}
source={{
uri: "https://images.unsplash.com/photo-1614289371518-722f2615943d?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=687&q=80",
uri: "https://png.pngtree.com/png-clipart/20210915/ourlarge/pngtree-user-avatar-placeholder-png-image_3918418.jpg",
}}
>
{fullName?.toUpperCase().substr(0, 2)}
Expand Down

0 comments on commit 1db4bc5

Please sign in to comment.