diff --git a/packages/nulp_elite/src/App.js b/packages/nulp_elite/src/App.js index 9293955b..26c3c2f1 100644 --- a/packages/nulp_elite/src/App.js +++ b/packages/nulp_elite/src/App.js @@ -326,7 +326,7 @@ function App() { ))} - + {/* */} {/* */} diff --git a/packages/nulp_elite/src/components/header.js b/packages/nulp_elite/src/components/header.js index 0096583a..d1d1fb98 100644 --- a/packages/nulp_elite/src/components/header.js +++ b/packages/nulp_elite/src/components/header.js @@ -216,9 +216,9 @@ function Header({ globalSearchQuery }) { boxShadow: searchQuery ? '0 2px 4px rgba(0, 0, 0, 0.2)' : 'none', color: searchQuery ? '#fff' : "#000" }; -const handleLogout =() => { - sessionStorage.setItem('isModalShown', 'false'); -} + const handleLogout = () => { + sessionStorage.setItem('isModalShown', 'false'); + } return ( <> { + onClick={handleLogout}> - + {t("LOGOUT")} @@ -738,6 +738,11 @@ const handleLogout =() => { > {t("ENGLISH")} {t("HINDI")} + {t("MARATHI")} + {t("GUJARATI")} + {t("TAMIL")} + {t("BENGALI")} + {t("MALAYALAM")} @@ -873,9 +878,9 @@ const handleLogout =() => { className="ml-10" onClick={() => { sessionStorage.setItem("urlPath", "learningreport"); - window.open(routeConfig.ROUTES.LEARNING_REPORT, "_blank"); + window.open(routeConfig.ROUTES.LEARNING_REPORT, "_blank"); }} - style={{color:'#1976d2'}} + style={{ color: '#1976d2' }} > {t("LEARNING_REPORT")} diff --git a/packages/nulp_elite/src/pages/content/Player.js b/packages/nulp_elite/src/pages/content/Player.js index 7390d09c..87246fd6 100644 --- a/packages/nulp_elite/src/pages/content/Player.js +++ b/packages/nulp_elite/src/pages/content/Player.js @@ -261,7 +261,7 @@ const updateContentStateForAssessment = async () => { return (
- + @@ -269,9 +269,12 @@ const updateContentStateForAssessment = async () => { className="d-flex mr-20 my-20 px-10" style={{ alignItems: "center",justifyContent:'space-between' }} > - + diff --git a/packages/nulp_elite/src/pages/content/joinCourse.js b/packages/nulp_elite/src/pages/content/joinCourse.js index 9d166ed4..03677b86 100644 --- a/packages/nulp_elite/src/pages/content/joinCourse.js +++ b/packages/nulp_elite/src/pages/content/joinCourse.js @@ -57,7 +57,8 @@ const JoinCourse = () => { const [batchDetails, setBatchDetails] = useState(); const [userCourseData, setUserCourseData] = useState({}); const [showEnrollmentSnackbar, setShowEnrollmentSnackbar] = useState(false); - const [showUnEnrollmentSnackbar, setShowUnEnrollmentSnackbar] = useState(false); + const [showUnEnrollmentSnackbar, setShowUnEnrollmentSnackbar] = + useState(false); const [showConsentForm, setShowConsentForm] = useState(false); const [enrolled, setEnrolled] = useState(false); const [progress, setCourseProgress] = useState(); @@ -75,6 +76,7 @@ const JoinCourse = () => { const [open, setOpen] = useState(false); const [chat, setChat] = useState([]); const [childnode, setChildNode] = useState([]); + const [isOwner, setIsOwner] = useState([]); const [formData, setFormData] = useState({ message: "", }); @@ -155,8 +157,15 @@ const JoinCourse = () => { setCreatorId(data?.result?.content?.createdBy); setCourseData(data); setUserData(data); - - const identifiers = data?.result?.content?.children[0]?.children[0]?.identifier; + if (_userId == data?.result?.content?.createdBy) { + setIsOwner(true); + } + let identifiers; + if(data?.result?.content?.children[0]?.children){ + identifiers = data?.result?.content?.children[0]?.children[0]?.identifier; + }else{ + identifiers = data?.result?.content?.children[0]?.identifier + } console.log(identifiers, "setChildNode"); setChildNode(identifiers); @@ -180,7 +189,6 @@ const JoinCourse = () => { setAllContents(allContents); console.log("allContents-------", allContents); - } catch (error) { console.error("Error fetching course data:", error); showErrorMessage(t("FAILED_TO_FETCH_DATA")); @@ -222,7 +230,7 @@ const JoinCourse = () => { batchId: batchDetails.batchId, }); setBatchDetails(batchDetails); - console.log("batchDetail---", batchDetails) + console.log("batchDetail---", batchDetails); } else { console.error("Batch data not found in response"); } @@ -287,12 +295,11 @@ const JoinCourse = () => { if (content.status) { completedCount = completedCount + 1; } - }) + }); if (allContents.length == completedCount) { - setIsCompleted(true) + setIsCompleted(true); } - - } + }; const flattenDeep = async (contents) => { if (contents) { @@ -310,7 +317,6 @@ const JoinCourse = () => { }; const calculateProgress = async () => { - console.log( "courseData?.result?.content?.children", courseData?.result?.content?.children @@ -383,8 +389,9 @@ const JoinCourse = () => { useEffect(() => { const fetchChats = async () => { try { - const url = `${urlConfig.URLS.DIRECT_CONNECT.GET_CHATS - }?sender_id=${_userId}&receiver_id=${creatorId}&is_accepted=${true}`; + const url = `${ + urlConfig.URLS.DIRECT_CONNECT.GET_CHATS + }?sender_id=${_userId}&receiver_id=${creatorId}&is_accepted=${true}`; const response = await axios.get(url, { withCredentials: true, @@ -453,8 +460,8 @@ const JoinCourse = () => { for (let identifier of allContents) { const found = Array.isArray(contentList) ? contentList.find( - (item) => item.contentId === identifier && item.status === 2 - ) + (item) => item.contentId === identifier && item.status === 2 + ) : undefined; if (!found) { @@ -599,14 +606,18 @@ const JoinCourse = () => { return (
- + + {" "} + - - } + )} +
- {showConfirmation && ( @@ -656,37 +668,42 @@ const JoinCourse = () => { <>
- + + {" "} + - - - {!isCompleted && + + + {!isCompleted && ( - } + )}{" "} +
- {showConfirmation && ( - + {t("LEAVE_COURSE_CONFIRMATION_TITLE")} @@ -709,17 +726,11 @@ const JoinCourse = () => { > {t("LEAVE_COURSE")} - )}
- {isCompleted && - - {t("COURSE_SUCCESSFULLY_COMPLETED")} - - } - + {isCompleted && {t("COURSE_SUCCESSFULLY_COMPLETED")}} ); } @@ -791,7 +802,7 @@ const JoinCourse = () => {
- ); } } @@ -811,7 +821,7 @@ const JoinCourse = () => { await handleJoinCourse(); // Wait for the user to join the course setShowConsentForm(true); // Open the consent form after joining the course } catch (error) { - setShowEnrollmentSnackbar + setShowEnrollmentSnackbar; console.error("Error:", error); } }; @@ -939,14 +949,13 @@ const JoinCourse = () => { } }; - const handlecopyrightOpen = () => { setcopyrightOpen(true); }; const handlecopyrightClose = () => { setcopyrightOpen(false); - } + }; const handleOpen = () => { setOpen(true); @@ -982,165 +991,173 @@ const JoinCourse = () => {
{toasterMessage && } - - - + - {t("ENROLLMENT_SUCCESS_MESSAGE")} - - - - + {t("ENROLLMENT_SUCCESS_MESSAGE")} + + + - {t("UNENROLLMENT_SUCCESS_MESSAGE")} - - - - { - if (reason === "backdropClick" || reason === "escapeKeyDown") { - setOpenModal(true); - } else { - handleCloseModal(); - } - }} - > - - - {t("CONSENT_FORM_TITLE")} - - - - - - - - - - - - + {t("UNENROLLMENT_SUCCESS_MESSAGE")} + + + + { + if (reason === "backdropClick" || reason === "escapeKeyDown") { + setOpenModal(true); + } else { + handleCloseModal(); + } + }} + > + + + {t("CONSENT_FORM_TITLE")} + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + Speaker One + - - - - - - - - - - - Speaker One - - - - - - - + - {t("ALL_CONTENT")} - - - {userData?.result?.content?.name} - - - - - {" "} - {userData?.result?.content?.name} - + + {t("ALL_CONTENT")} + + + {userData?.result?.content?.name} + + + + + {" "} + {userData?.result?.content?.name} + - {(courseData?.result?.content?.board || - courseData?.result?.content?.se_boards || - courseData?.result?.content?.gradeLevel || - courseData?.result?.content?.se_gradeLevels) && ( + {(courseData?.result?.content?.board || + courseData?.result?.content?.se_boards || + courseData?.result?.content?.gradeLevel || + courseData?.result?.content?.se_gradeLevels) && ( { color: "#424242", fontSize: "10px", margin: "0 10px 3px 6px", - cursor: "auto" + cursor: "auto", }} className="bg-blueShade3" > @@ -1166,21 +1183,23 @@ const JoinCourse = () => { ))} {courseData?.result?.content?.se_boards && - courseData?.result?.content?.se_boards?.map((item, index) => ( - - ))} + courseData?.result?.content?.se_boards?.map( + (item, index) => ( + + ) + )} {courseData?.result?.content?.gradeLevel && courseData?.result?.content?.gradeLevel?.map( (item, index) => ( @@ -1191,7 +1210,7 @@ const JoinCourse = () => { color: "#424242", fontSize: "10px", margin: "0 10px 3px 6px", - cursor: "auto" + cursor: "auto", }} className="bg-blueShade3" > @@ -1209,7 +1228,7 @@ const JoinCourse = () => { color: "#424242", fontSize: "10px", margin: "0 10px 3px 6px", - cursor: "auto" + cursor: "auto", }} className="bg-blueShade3" > @@ -1219,80 +1238,144 @@ const JoinCourse = () => { )} )} - {renderActionButton()} - - - {t("BATCH_DETAILS")}: - + {renderActionButton()} - {t("BATCH_START_DATE")}:{" "} - {batchData?.startDate - ? formatDate(batchData?.startDate) - : "Not Provided"} + {t("BATCH_DETAILS")}: - - {t("BATCH_END_DATE")}:{" "} - {batchData?.endDate - ? formatDate(batchData?.endDate) - : "Not Provided"} - - + {t("BATCH_START_DATE")}:{" "} + {batchData?.startDate + ? formatDate(batchData?.startDate) + : "Not Provided"} + + + {t("BATCH_END_DATE")}:{" "} + {batchData?.endDate + ? formatDate(batchData?.endDate) + : "Not Provided"} + + + {t("LAST_DATE_FOR_ENROLLMENT")}:{" "} + {batchData?.enrollmentEndDate + ? formatDate(batchData.enrollmentEndDate) + : "Not Provided"} + + + + {batchDetails && batchDetails.cert_templates != null && ( + - {t("LAST_DATE_FOR_ENROLLMENT")}:{" "} - {batchData?.enrollmentEndDate - ? formatDate(batchData.enrollmentEndDate) - : "Not Provided"} - - - - {batchDetails && batchDetails.cert_templates != null && + } + aria-controls="panel1-content" + id="panel1-header" + className="xs-hide h4-title" + > + {t("CERTIFICATION_CRITERIA")} + + + {batchDetail && ( +
    +
  • + {t("COMPLETION_CERTIFICATE_ISSUED")} +
  • + {score !== "no certificate" && ( +
  • + {t("CERT_ISSUED_SCORE")} + {` ${score}% `} + {t("ASSESSMENT")} +
  • + )} +
+ )} +
+ + )} + {isEnrolled && + batchDetails && + batchDetails.cert_templates == null && ( + + + {t("CERT_NOT_ATTACHED")} + + + )} { expandIcon={} aria-controls="panel1-content" id="panel1-header" - className="xs-hide h4-title" + className="h4-title" > - {t("CERTIFICATION_CRITERIA")} + {t("OTHER_DETAILS")} - - {batchDetail && ( -
    -
  • - {t("COMPLETION_CERTIFICATE_ISSUED")} -
  • - {score !== "no certificate" && ( -
  • - {t("CERT_ISSUED_SCORE")} - {` ${score}% `} - {t("ASSESSMENT")} -
  • + + + {t("Created By")}:{" "} + {userData && + userData.result && + userData.result.content.creator} + + + {t("Published on NULP by")}:{" "} + {userData && + userData.result && + userData.result?.content?.orgDetails?.orgName} + + + {t("CREATED_ON")}:{" "} + {userData && + userData.result && + formatDate(userData.result.content.children[0].createdOn)} + + + {t("UPDATED_ON")}:{" "} + {userData && + userData.result && + formatDate( + userData.result.content.children[0].lastUpdatedOn )} -
- )} -
-
- } - - - {isEnrolled && batchDetails && batchDetails.cert_templates == null && - - - - {t("CERT_NOT_ATTACHED")} - - - - } - - } - aria-controls="panel1-content" - id="panel1-header" - className="h4-title" - > - {t("OTHER_DETAILS")} - - - - {t("Created By")}:{" "} - {userData && - userData.result && - userData.result.content.creator - } - - - {t("Published on NULP by")}:{" "} - {userData && - userData.result && - userData.result?.content?.orgDetails?.orgName - } - - - {t("CREATED_ON")}:{" "} - {userData && - userData.result && - formatDate(userData.result.content.children[0].createdOn)} - - - {t("UPDATED_ON")}:{" "} - {userData && - userData.result && - formatDate( - userData.result.content.children[0].lastUpdatedOn - )} - - - - {t("CREDITS")} - - - {t("CREDITS")} - -

- {t("COPYRIGHT")} -

- {userData?.result?.content?.orgDetails?.orgName && userData?.result?.content?.copyrightYear - ? `${userData.result.content.orgDetails.orgName}, ${userData.result.content.copyrightYear}` - : userData?.result?.content?.orgDetails?.orgName || userData?.result?.content?.copyrightYear - } -
{t("THIS_CONTENT_IS_DERIVED_FROM")}
-

- {t("CONTENT")} -

- {userData?.result?.content?.name} -

- {t("LICENSE_TERMS")} -

- {userData?.result?.content?.licenseDetails?.name} -

- {t("PUBLISHED_ON_NULP_BY")} -

- {userData?.result?.content?.orgDetails?.orgName} -
- - - -
- - {t("LICENSE_TERMS")}:{" "} - {userData?.result?.content?.licenseDetails?.name} - {t("FOR_DETAILS")}:{" "} - - {userData?.result?.content?.licenseDetails?.url} - - -
-
- + -
- - {chat.length === 0 && ( - - )} - {chat.length > 0 && chat[0]?.is_accepted === false && ( - - - {t("YOUR_CHAT_REQUEST_IS_PENDING")} - + {t("CREDITS")} + + + {t("CREDITS")} + +

+ {t("COPYRIGHT")} +

+ {userData?.result?.content?.orgDetails?.orgName && + userData?.result?.content?.copyrightYear + ? `${userData.result.content.orgDetails.orgName}, ${userData.result.content.copyrightYear}` + : userData?.result?.content?.orgDetails?.orgName || + userData?.result?.content?.copyrightYear} +
{t("THIS_CONTENT_IS_DERIVED_FROM")}
+

+ {t("CONTENT")} +

+ {userData?.result?.content?.name} +

+ {t("LICENSE_TERMS")} +

+ {userData?.result?.content?.licenseDetails?.name} +

+ {t("PUBLISHED_ON_NULP_BY")} +

+ {userData?.result?.content?.orgDetails?.orgName} +
+ + + +
+ + {t("LICENSE_TERMS")}:{" "} + {userData?.result?.content?.licenseDetails?.name} + {t("FOR_DETAILS")}:{" "} + + {userData?.result?.content?.licenseDetails?.url} + + + + + +
+ + {chat.length === 0 && ( + + )} + {chat.length > 0 && chat[0]?.is_accepted === false && ( + + + {t("YOUR_CHAT_REQUEST_IS_PENDING")} + + + + )} + {chat.length > 0 && chat[0].is_accepted === true && ( - - )} - {chat.length > 0 && chat[0].is_accepted === true && ( - + )} + + {_userId && creatorId && ( + +
+ {" "} +
+
)} - - {_userId && creatorId && ( - -
- {" "} -
-
- )} -
- - - - - - - - - - - - Twitter - - - - - - {" "} - {renderActionButton()} - - - {courseData && courseData?.result?.content && ( - <> - - {t("DESCRIPTION")}: - - +
+ + + + + + + + + + + + Twitter + + + + + + {" "} + {renderActionButton()} + + + {courseData && courseData?.result?.content && ( + <> + + {t("DESCRIPTION")}: + + + {courseData?.result?.content?.description.split(" ") + .length > 100 + ? showMore + ? courseData?.result?.content?.description + : courseData?.result?.content?.description + .split(" ") + .slice(0, 30) + .join(" ") + "..." + : courseData?.result?.content?.description} + {courseData?.result?.content?.description.split(" ") - .length > 100 - ? showMore - ? courseData?.result?.content?.description - : courseData?.result?.content?.description - .split(" ") - .slice(0, 30) - .join(" ") + "..." - : courseData?.result?.content?.description} - - {courseData?.result?.content?.description.split(" ").length > - 100 && ( + .length > 100 && ( )} - - )} - + + )} + - - } - aria-controls="panel1-content" - id="panel1-header" - className="h4-title" - style={{ fontWeight: "500" }} + - {t("COURSES_MODULE")} - - - {userData?.result?.content?.children.map((faqIndex) => ( - - } - aria-controls={`panel${faqIndex.id}-content`} - id={`panel${faqIndex.id}-header`} - className="h5-title" + } + aria-controls="panel1-content" + id="panel1-header" + className="h4-title" + style={{ fontWeight: "500" }} + > + {t("COURSES_MODULE")} + + + {userData?.result?.content?.children.map((faqIndex) => ( + - {faqIndex.name} - + } + aria-controls={`panel${faqIndex.id}-content`} + id={`panel${faqIndex.id}-header`} + className="h5-title" + > + {faqIndex.name} + - + {/* If it's not a content collection, render it like a clickable child */} - {faqIndex.mimeType !== "application/vnd.ekstep.content-collection" ? ( + {faqIndex.mimeType !== + "application/vnd.ekstep.content-collection" ? ( { className="h6-title" > {faqIndex.name} - {completedContents.includes(faqIndex.identifier) && ( + {completedContents.includes( + faqIndex.identifier + ) && ( )} - ) : ( - faqIndex?.children?.map((faqIndexname) => ( - - {faqIndexname.children && - faqIndexname.children.length > 0 ? ( - ( + - {faqIndexname.name} - - ) : ( - handleLinkClick(faqIndexname.identifier)} - className="h6-title" - > - {faqIndexname.name} - {completedContents.includes(faqIndexname.identifier) && ( - - )} - - )} - - {faqIndexname.children && - faqIndexname.children.length > 0 && ( -
- {faqIndexname.children.map((child) => ( - - {child.children && - child.children.length > 0 ? ( - 0 ? ( + + {faqIndexname.name} + + ) : ( + + handleLinkClick(faqIndexname.identifier) + } + className="h6-title" + > + {faqIndexname.name} + {completedContents.includes( + faqIndexname.identifier + ) && ( + + )} + + )} + + {faqIndexname.children && + faqIndexname.children.length > 0 && ( +
+ {faqIndexname.children.map((child) => ( + - {child.name} - - ) : ( - - handleLinkClick(child.identifier) - } - className="h6-title" - > - {child.name} - {completedContents.includes( - child.identifier - ) && ( - - )} - - )} - {child.children && - child.children.length > 0 && ( -
- {child.children.map((grandchild) => ( - 0 ? ( + + {child.name} + + ) : ( + + handleLinkClick(child.identifier) + } + className="h6-title" + > + {child.name} + {completedContents.includes( + child.identifier + ) && ( + + )} + + )} + {child.children && + child.children.length > 0 && ( +
- {grandchild.children && - grandchild.children.length > 0 ? ( - - {grandchild.name} - - ) : ( - - handleLinkClick( - grandchild.identifier - ) - } - className="h6-title" - > - {grandchild.name} - {completedContents.includes( - grandchild.identifier - ) && ( - ( + + {grandchild.children && + grandchild.children.length > + 0 ? ( + + {grandchild.name} + + ) : ( + + onClick={() => + handleLinkClick( + grandchild.identifier + ) + } + className="h6-title" + > + {grandchild.name} + {completedContents.includes( + grandchild.identifier + ) && ( + + )} + )} - + + ) )} - - ))} -
- )} -
- ))} -
- )} -
- )) - )} +
+ )} +
+ ))} +
+ )} +
+ )) + )} +
+
+ ))}
- ))} - - - - - - - - {t("BATCH_DETAILS")}: - - {t("BATCH_START_DATE")}: {formatDate(batchData?.startDate)} + {t("BATCH_DETAILS")}: - - {t("BATCH_END_DATE")}: {formatDate(batchData?.endDate)} - - + {t("BATCH_START_DATE")}: {formatDate(batchData?.startDate)} + + + {t("BATCH_END_DATE")}: {formatDate(batchData?.endDate)} + + + {t("LAST_DATE_FOR_ENROLLMENT")}:{" "} + {formatDate(batchData?.enrollmentEndDate)} + + + + {batchDetails && batchDetails.cert_templates != null && ( + - {t("LAST_DATE_FOR_ENROLLMENT")}:{" "} - {formatDate(batchData?.enrollmentEndDate)} - - - - {batchDetails && batchDetails.cert_templates != null && + } + aria-controls="panel1-content" + id="panel1-header" + className="h4-title" + > + {t("CERTIFICATION_CRITERIA")} + + + {batchDetail && ( +
    +
  • + {t("COMPLETION_CERTIFICATE_ISSUED")} +
  • + {score !== "no certificate" && ( +
  • + {t("CERT_ISSUED_SCORE")} + {` ${score}% `} + {t("ASSESSMENT")} +
  • + )} +
+ )} +
+
+ )} + {isEnrolled && + batchDetails && + batchDetails.cert_templates == null && ( + + + {t("CERT_NOT_ATTACHED")}: + + + )} { id="panel1-header" className="h4-title" > - {t("CERTIFICATION_CRITERIA")} + {t("OTHER_DETAILS")} { borderRadius: "10px", }} > - {batchDetail && ( -
    -
  • - {t("COMPLETION_CERTIFICATE_ISSUED")} -
  • - {score !== "no certificate" && ( -
  • - {t("CERT_ISSUED_SCORE")} - {` ${score}% `} - {t("ASSESSMENT")} -
  • + + {t("CREATED_ON")}:{" "} + {courseData && + courseData.result && + formatDate( + courseData.result.content.children[0].createdOn )} -
- )} + + + {t("UPDATED_ON")}:{" "} + {courseData && + courseData.result && + formatDate( + courseData.result.content.children[0].lastUpdatedOn + )} + + {t("CREDITS")}: + + {t("LICENSE_TERMS")}:{" "} + {courseData?.result?.content?.licenseDetails?.name} + {t("FOR_DETAILS")}:{" "} + + {courseData?.result?.content?.licenseDetails?.url} + +
- } - - {isEnrolled && batchDetails && batchDetails.cert_templates == null && - - - - {t("CERT_NOT_ATTACHED")}: - - - - } - - } - aria-controls="panel1-content" - id="panel1-header" - className="h4-title" - > - {t("OTHER_DETAILS")} - - - - {t("CREATED_ON")}:{" "} - {courseData && - courseData.result && - formatDate(courseData.result.content.children[0].createdOn)} - - - {t("UPDATED_ON")}:{" "} - {courseData && - courseData.result && - formatDate( - courseData.result.content.children[0].lastUpdatedOn +
+ + {chat && chat.length === 0 && ( + + )} + {chat && + chat.length > 0 && + chat[0]?.is_accepted === false && ( + + + {t("YOUR_CHAT_REQUEST_IS_PENDING")} + + + )} - - {t("CREDITS")}: - - {t("LICENSE_TERMS")}:{" "} - {courseData?.result?.content?.licenseDetails?.name} - {t("FOR_DETAILS")}:{" "} - - {courseData?.result?.content?.licenseDetails?.url} - - - - -
- - {chat && chat.length === 0 && ( - - )} - {chat && chat.length > 0 && chat[0]?.is_accepted === false && ( - - - {t("YOUR_CHAT_REQUEST_IS_PENDING")} - + {chat && chat.length > 0 && chat[0].is_accepted === true && ( - - )} - {chat && chat.length > 0 && chat[0].is_accepted === true && ( - + )} + + {_userId && creatorId && ( + +
+ {" "} +
+
)} - - {_userId && creatorId && ( - -
- {" "} -
-
- )} -
- - - - - - - - - - - - Twitter - - +
+ + + + + + + + + + + + Twitter + + +
- - - + +
diff --git a/packages/nulp_elite/src/pages/events/eventDetails.js b/packages/nulp_elite/src/pages/events/eventDetails.js index 66245d55..a871547b 100644 --- a/packages/nulp_elite/src/pages/events/eventDetails.js +++ b/packages/nulp_elite/src/pages/events/eventDetails.js @@ -770,7 +770,7 @@ const formatTimeWithTimezone = (date) => {
{toasterMessage && } - + { spacing={2} className="bg-whitee custom-event-container mb-20 custom-container mb-38" > - + { alt="App Icon" /> - + {detailData.name} @@ -878,20 +878,20 @@ const formatTimeWithTimezone = (date) => { - + {formatDate(detailData.startDate)} - + {formatTimeToIST(detailData.startTime)} To - + {formatDate(detailData.endDate)} - + {formatTimeToIST(detailData.endTime)} @@ -1341,7 +1341,6 @@ const formatTimeWithTimezone = (date) => { top: "50%", left: "50%", transform: "translate(-50%, -50%)", - width: 1000, bgcolor: "background.paper", border: "2px solid #000", boxShadow: 24, @@ -1431,14 +1430,14 @@ const formatTimeWithTimezone = (date) => { />