Skip to content

Commit

Permalink
feat: add requests to header menu (#1800)
Browse files Browse the repository at this point in the history
  • Loading branch information
hegeaal authored Oct 23, 2023
1 parent b46485e commit 0839030
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
6 changes: 5 additions & 1 deletion src/app/app-nav-bar/app-nav-bar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ import {
PATHNAME_SPARQL,
PATHNAME_ABOUT_DATASETS,
PATHNAME_GUIDANCE,
PATHNAME_NEWS_ARCHIVE
PATHNAME_NEWS_ARCHIVE,
PATHNAME_REQUESTS
} from '../../constants/constants';

import { themeFDK, themeNAP } from '../theme';
Expand Down Expand Up @@ -121,6 +122,9 @@ const fdkItems = () => [
<SC.ListItem key={localization.menu.sparql}>
<Link href={PATHNAME_SPARQL}>{localization.menu.sparql}</Link>
</SC.ListItem>
<SC.ListItem key={localization.menu.requests}>
<Link href={PATHNAME_REQUESTS}>{localization.menu.requests}</Link>
</SC.ListItem>
</DropdownMenu>
</SC.ListItem>,
<SC.ListItem key={localization.menu.community}>
Expand Down
3 changes: 2 additions & 1 deletion src/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@
"newestToOldest": "Newest to Oldest",
"mostVotes": "Most Votes",
"mostViews": "Most Views",
"view": "View"
"view": "View",
"search": "Free text search in titles"
}
}
3 changes: 2 additions & 1 deletion src/l10n/nb.json
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@
"newestToOldest": "Nyeste til eldste",
"mostVotes": "Flest stemmer",
"mostViews": "Flest visninger",
"view": "Visning"
"view": "Visning",
"search": "Fritekssøk i titler"
}
}
3 changes: 2 additions & 1 deletion src/l10n/nn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1188,6 +1188,7 @@
"newestToOldest": "Nyeste til eldste",
"mostVotes": "Flest stemmer",
"mostViews": "Flest visningar",
"view": "Visning"
"view": "Visning",
"search": "Fritekssøk i titler"
}
}
2 changes: 1 addition & 1 deletion src/pages/requests/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ const RequestsPage: FC<Props> = ({
/>
</div>
<div>
<p>Fritekssøk i titler</p>
<p>{localization.requestsPage.search}</p>
<SC.Row>
<SearchField
onSearchSubmit={s => {
Expand Down

0 comments on commit 0839030

Please sign in to comment.