Skip to content

Commit

Permalink
[ui] Use new demo files as example files in getting started and import
Browse files Browse the repository at this point in the history
  • Loading branch information
hhssb committed Nov 1, 2024
1 parent 6acfda6 commit 03f2dd4
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export default function UploadCustomActivityCategoryCodesPage() {
how the file should be structured:
</p>
<a
href="/activity_category_norway.csv"
href="/activity_custom_isic_demo.csv"
download="custom_activity_categories.example.csv"
className="underline"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ export default function UploadCustomSectorsPage() {

{!!numberOfCustomLegalForms && numberOfCustomLegalForms > 0 && (
<InfoBox>
<p>There are already {numberOfCustomLegalForms} custom legal forms defined</p>
<p>
There are already {numberOfCustomLegalForms} custom legal forms
defined
</p>
</InfoBox>
)}

Expand Down Expand Up @@ -80,7 +83,7 @@ export default function UploadCustomSectorsPage() {
business environments.
</p>
<a
href="/legal_form_norway.csv"
href="/legal_forms_demo.csv"
download="legal_form.example.csv"
className="underline"
>
Expand Down
6 changes: 4 additions & 2 deletions app/src/app/getting-started/upload-custom-sectors/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ export default function UploadCustomSectorsPage() {

{!!numberOfCustomSectors && numberOfCustomSectors > 0 && (
<InfoBox>
<p>There are already {numberOfCustomSectors} custom sectors defined</p>
<p>
There are already {numberOfCustomSectors} custom sectors defined
</p>
</InfoBox>
)}

Expand Down Expand Up @@ -76,7 +78,7 @@ export default function UploadCustomSectorsPage() {
using international standards.
</p>
<a
href="/sector_norway.csv"
href="/sectors_demo.csv"
download="sectors.example.csv"
className="underline"
>
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/getting-started/upload-regions/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function UploadRegionsPage() {
in order to be processed correctly.
</p>
<a
href="/norway-regions-2024.csv"
href="/regions_demo.csv"
download="regions.example.csv"
className="underline"
>
Expand Down
4 changes: 2 additions & 2 deletions app/src/app/import/establishments-without-legal-unit/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export default function UploadEstablishmentsWithoutLegalUnitPage() {
structured:
</p>
<a
href="/underenheter-selection-web-import.csv"
download="establishments.example.csv"
href="/informal_establishments_units_demo.csv"
download="informalestablishments.example.csv"
className="underline"
>
Download example CSV file
Expand Down
4 changes: 2 additions & 2 deletions app/src/app/import/establishments/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ export default function UploadEstablishmentsPage() {
should be structured:
</p>
<a
href="/underenheter-selection-web-import.csv"
download="establishments.example.csv"
href="/formal_establishments_units_demo.csv"
download="formalestablishments.example.csv"
className="underline"
>
Download example CSV file
Expand Down
2 changes: 1 addition & 1 deletion app/src/app/import/legal-units/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function UploadLegalUnitsPage() {
structured:
</p>
<a
href="/enheter-selection-web-import.csv"
href="/legal_units_demo.csv"
download="legalunits.example.csv"
className="underline"
>
Expand Down

0 comments on commit 03f2dd4

Please sign in to comment.