Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add requests to header menu #1800

Merged
merged 2 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -94,7 +94,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