Skip to content

Commit

Permalink
Show some informative message when a GPKG is imported (#1107) (#1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidQuartz authored Aug 1, 2022
1 parent d00a9f7 commit 33a3d96
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ function UploadCard({
{((progress < 100 && progress > 0) || status === 'running') ? <Spinner /> : null}
{onRemove
? <Button size="xs" onClick={onRemove}>
<FaIcon name="trash"/>
<FaIcon name="trash" />
</Button>
: null}
</div>
Expand All @@ -83,11 +83,11 @@ function UploadCard({
{(detailUrl || status === 'finished')
? <Button
variant="primary"
href={detailUrl}
href={detailUrl || '/catalogue/#/search/?f=dataset'}
target="_blank"
rel="noopener noreferrer"
>
<Message msgId="gnviewer.view" />
<Message msgId={`${detailUrl ? 'gnviewer.view' : 'gnhome.viewDatasets'}`} />
</Button>
: null}
{(state === 'INVALID' || status === 'failed')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"groupsCategories": "Gruppenkategorien",
"view": "Ansehen",
"viewDataset": "Datensatz ansehen",
"viewDatasets": "Datensätze anzeigen",
"viewMap": "Karte ansehen",
"viewGeoStory": "GeoStory ansehen",
"viewDocument": "Dokument ansehen",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"groupsCategories": "Groups categories",
"view": "View",
"viewDataset": "View dataset",
"viewDatasets": "View datasets",
"viewMap": "View map",
"viewGeoStory": "View GeoStory",
"viewDocument": "View document",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"groupsCategories": "Categorías de grupo",
"view": "Ver",
"viewDataset": "Ver dataset",
"viewDatasets": "Ver conjuntos de datos",
"viewMap": "Ver mapa",
"viewGeoStory": "Ver GeoStory",
"viewDocument": "Ver documento",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"groupsCategories": "Catégories de groupe",
"view": "Voir",
"viewDataset": "Visualiser dataset",
"viewDatasets": "Afficher les ensembles de données",
"viewMap": "Voir la carte",
"viewGeoStory": "Voir la GeoStory",
"viewDocument": "Voir document",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"groupsCategories": "Categorie gruppo",
"view": "View",
"viewDataset": "Visualizza dataset",
"viewDatasets": "Visualizzare i set di dati",
"viewMap": "Visualizza mappa",
"viewGeoStory": "Visualizza GeoStory",
"viewDocument": "Visualizza documento",
Expand Down

0 comments on commit 33a3d96

Please sign in to comment.