Skip to content

Commit

Permalink
Added some modifications
Browse files Browse the repository at this point in the history
  • Loading branch information
Bahati308 committed Dec 24, 2024
1 parent 41fa628 commit 7e9698a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 8 additions & 4 deletions frontend/src/components/admin/Admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,19 @@ function Admin() {
<FormattedMessage id="sidenav.label.admin.testmgt.ManageMethod" />
</SideNavMenuItem>
{/* New "Manage Sample Types" menu */}
<SideNavMenu title={intl.formatMessage({ id: "sidenav.label.admin.testmgt.ManageSampleTypes" })}>
<SideNavMenu
title={intl.formatMessage({
id: "sidenav.label.admin.testmgt.ManageSampleTypes",
})}
>
<SideNavMenuItem href="#sample-type-1">
<FormattedMessage id="sidenav.label.admin.testmgt.SampleType" />
<FormattedMessage id="sidenav.label.admin.testmgt.SampleType" />
</SideNavMenuItem>
<SideNavMenuItem href="#sample-type-2">
<FormattedMessage id="sidenav.label.admin.testmgt.SampleTypeOrder" />
<FormattedMessage id="sidenav.label.admin.testmgt.SampleTypeOrder" />
</SideNavMenuItem>
<SideNavMenuItem href="#sample-type-3">
<FormattedMessage id="sidenav.label.admin.testmgt.TestAssignment" />
<FormattedMessage id="sidenav.label.admin.testmgt.TestAssignment" />
</SideNavMenuItem>
</SideNavMenu>
</SideNavMenu>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/languages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@
"sidenav.label.admin.testmgt.ViewtestCatalog": "View Test Catalog",
"sidenav.label.admin.testmgt.ManageMethod": "Manage Method",
"sidenav.label.admin.testmgt.ManageSampleTypes": "Manage Sample Types",
"sidenav.label.admin.testmgt.SampleType" : "Sample Type",
"sidenav.label.admin.testmgt.SampleTypeOrder" : "Sample Type Order",
"sidenav.label.admin.testmgt.SampleType": "Sample Type",
"sidenav.label.admin.testmgt.SampleTypeOrder": "Sample Type Order",
"sidenav.label.admin.testmgt.TestAssignment": "Test Assignment",
"sidenav.label.admin.analyzerTest": "Analyzer Test Name",
"sidenav.label.admin.program": "Program Entry",
Expand Down

0 comments on commit 7e9698a

Please sign in to comment.