Skip to content

Commit

Permalink
Bug #226561 , Bug #226560 - [Webapp] - After clicking on learning rep…
Browse files Browse the repository at this point in the history
…ort,admin report and Admin menu,it should open this in a new tab,not in the current tab,[Webapp] - Language constan is missing for dashboard dropdown
  • Loading branch information
sonaliTekdi committed Sep 9, 2024
1 parent f62ac29 commit d38c607
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 14 deletions.
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/be/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -292,5 +292,7 @@
"EDIT_": "সম্পাদনা করুন",
"VIEW_STATUS": "স্থিতি দেখুন",
"SEARCH_FOR_POLL": "একটি পোল অনুসন্ধান করুন",
"NO_POLL_AVAILABLE_NOW": " মনে হচ্ছে এই মুহূর্তে কোনো ভোট নেই৷"
"NO_POLL_AVAILABLE_NOW": " মনে হচ্ছে এই মুহূর্তে কোনো ভোট নেই৷",
"ADMIN":"অ্যাডমিন",
"LEARNING_REPORT":"লার্নিং রিপোর্ট"
}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -312,5 +312,7 @@
"EDIT": "Edit",
"VIEW_STATUS": "View Status",
"SEARCH_FOR_POLL": "Search for a Poll",
"NO_POLL_AVAILABLE_NOW": " It looks like there are no polls at the moment."
"NO_POLL_AVAILABLE_NOW": " It looks like there are no polls at the moment.",
"ADMIN":"Admin",
"LEARNING_REPORT":"Learning Report"
}
5 changes: 4 additions & 1 deletion packages/nulp_elite/public/locales/gg/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -302,5 +302,8 @@
"EDIT_": "સંપાદિત કરો",
"VIEW_STATUS": "સ્થિતિ જુઓ",
"SEARCH_FOR_POLL": "મતદાન માટે શોધો",
"NO_POLL_AVAILABLE_NOW": " એવું લાગે છે કે અત્યારે કોઈ મતદાન નથી."
"NO_POLL_AVAILABLE_NOW": " એવું લાગે છે કે અત્યારે કોઈ મતદાન નથી.",
"ADMIN":"એડમિન",
"LEARNING_REPORT":"લર્નિંગ રિપોર્ટ"

}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,7 @@
"EDIT": "संपादित करें",
"VIEW_STATUS": "स्थिति देखें",
"SEARCH_FOR_POLL": "पोल खोजें",
"NO_POLL_AVAILABLE_NOW": " ऐसा लगता है कि इस समय कोई मतदान नहीं है।"
"NO_POLL_AVAILABLE_NOW": " ऐसा लगता है कि इस समय कोई मतदान नहीं है।",
"ADMIN":"व्यवस्थापक",
"LEARNING_REPORT":"सीखने की रिपोर्ट"
}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/ma/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,7 @@
"EDIT": "संपादित करा",
"VIEW_STATUS": "स्थिती पहा",
"SEARCH_FOR_POLL": "पोल शोधा",
"NO_POLL_AVAILABLE_NOW": " असे दिसते की याक्षणी कोणतेही मतदान नाहीत."
"NO_POLL_AVAILABLE_NOW": " असे दिसते की याक्षणी कोणतेही मतदान नाहीत.",
"ADMIN":"प्रशासक",
"LEARNING_REPORT":"शिकण्याचा अहवाल"
}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/mal/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -294,5 +294,7 @@
"EDIT": "എഡിറ്റ്",
"VIEW_STATUS": "നില കാണുക",
"SEARCH_FOR_POLL": "ഒരു വോട്ടെടുപ്പിനായി തിരയുക",
"NO_POLL_AVAILABLE_NOW": " ഇപ്പോൾ വോട്ടെടുപ്പുകളൊന്നും ഇല്ലെന്ന് തോന്നുന്നു."
"NO_POLL_AVAILABLE_NOW": " ഇപ്പോൾ വോട്ടെടുപ്പുകളൊന്നും ഇല്ലെന്ന് തോന്നുന്നു.",
"ADMIN":"അഡ്മിൻ",
"LEARNING_REPORT":"പഠന റിപ്പോർട്ട്"
}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/ta/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -319,5 +319,7 @@
"EDIT": "திருத்து",
"VIEW_STATUS": "நிலையைக் காண்க",
"SEARCH_FOR_POLL": "வாக்கெடுப்பைத் தேடு",
"NO_POLL_AVAILABLE_NOW": " தற்போது வாக்கெடுப்பு எதுவும் இல்லை என்பது போல் தெரிகிறது."
"NO_POLL_AVAILABLE_NOW": " தற்போது வாக்கெடுப்பு எதுவும் இல்லை என்பது போல் தெரிகிறது.",
"ADMIN":"நிர்வாகி",
"LEARNING_REPORT":"கற்றல் அறிக்கை"
}
4 changes: 3 additions & 1 deletion packages/nulp_elite/public/locales/te/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -257,5 +257,7 @@
"EDIT": "సవరించు",
"VIEW_STATUS": " స్థితిని వీక్షించండి",
"SEARCH_FOR_POLL": "పోల్ కోసం శోధించు",
"NO_POLL_AVAILABLE_NOW": " ప్రస్తుతం పోల్‌లు లేనట్లు కనిపిస్తోంది."
"NO_POLL_AVAILABLE_NOW": " ప్రస్తుతం పోల్‌లు లేనట్లు కనిపిస్తోంది.",
"ADMIN":"నిర్వాహకుడు",
"LEARNING_REPORT":"లెర్నింగ్ రిపోర్ట్"
}
20 changes: 14 additions & 6 deletions packages/nulp_elite/src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ function Header({ globalSearchQuery }) {
</IconButton>
</Tooltip>
<Menu
sx={{ mt: "45px",width:'170px' }}
sx={{ mt: "45px"}}
id="menu-appbar"
anchorEl={anchorElUser}
anchorOrigin={{
Expand Down Expand Up @@ -979,7 +979,7 @@ function Header({ globalSearchQuery }) {
</IconButton>
</Tooltip>
<Menu
sx={{ mt: "45px" }}
sx={{ mt: "45px"}}
id="menu-appbar"
anchorEl={anchorElUser}
anchorOrigin={{
Expand All @@ -993,6 +993,11 @@ function Header({ globalSearchQuery }) {
}}
open={Boolean(anchorElUser)}
onClose={handleCloseUserMenu}
PaperProps={{
sx: {
width: '170px',
},
}}
>
<MenuItem>
<Link
Expand Down Expand Up @@ -1033,7 +1038,7 @@ function Header({ globalSearchQuery }) {
underline="none"
textAlign="center"
>
{t("POLL")} {t("DASHBOARD")}
{t("POLL")}
</Link>
</MenuItem>
)}
Expand All @@ -1057,6 +1062,7 @@ function Header({ globalSearchQuery }) {
href={routeConfig.ROUTES.LEARNING_REPORT}
underline="none"
textAlign="center"
target="_blank"
>
{t("LEARNING_REPORT")}
</Link>
Expand Down Expand Up @@ -1096,7 +1102,7 @@ function Header({ globalSearchQuery }) {
underline="none"
textAlign="center"
>
{t("POLL")} {t("DASHBOARD")}
{t("POLL")}
</Link>
</MenuItem>
)}
Expand All @@ -1120,6 +1126,7 @@ function Header({ globalSearchQuery }) {
href={routeConfig.ROUTES.LEARNING_REPORT}
underline="none"
textAlign="center"
target="_blank"
>
{t("LEARNING_REPORT")}
</Link>
Expand Down Expand Up @@ -1156,6 +1163,7 @@ function Header({ globalSearchQuery }) {
href={routeConfig.ROUTES.ADMIN}
underline="none"
textAlign="center"
target="_blank"
>
{t("ADMIN")}
</Link>
Expand Down Expand Up @@ -1241,6 +1249,7 @@ function Header({ globalSearchQuery }) {
)} */}
</List>
</Collapse>

<MenuItem>
<Link
href={routeConfig.ROUTES.HELP_PAGE.HELP}
Expand All @@ -1249,8 +1258,7 @@ function Header({ globalSearchQuery }) {
>
{t("HELP")}
</Link>
</MenuItem>

</MenuItem>
<MenuItem>
<Link href="/logoff" underline="none" textAlign="center">
{t("LOGOUT")}
Expand Down

0 comments on commit d38c607

Please sign in to comment.