diff --git a/_data/config-nav.csv b/_data/config-nav.csv index ba0e1b78..f1475a13 100644 --- a/_data/config-nav.csv +++ b/_data/config-nav.csv @@ -1,13 +1,6 @@ display_name,stub,dropdown_parent,external_link -Sammlung,,, -Durchsuchen,/browse.html,Sammlung, -Themen,/subjects.html,Sammlung, -Zeitachse,/timeline.html,Sammlung, -Epochen,/eras.html,Sammlung, +Sammlung,/browse.html,, Bibliografie,https://www.zotero.org/groups/5004193/stadt.geschichte.basel/library,,true -Daten,,, -Metadaten,/data.html,Daten, -Datenarchiv,https://zenodo.org/communities/stadt-geschichte-basel/,Daten,true -Quellcode,https://github.com/Stadt-Geschichte-Basel/,Daten,true +Daten,/data.html,, Portal,https://stadtgeschichtebasel.ch/,,true Über,/about.html,, diff --git a/_data/translations.yml b/_data/translations.yml index 4b2b83c5..ec8cf81e 100644 --- a/_data/translations.yml +++ b/_data/translations.yml @@ -426,6 +426,22 @@ _includes: de: "Element anzeigen" modal-hash-js.html: table-js.html: + download: + en: "Download" + es: "Descargar" + de: "Herunterladen" + filtered_metadata_excel: + en: "Filtered Metadata (Excel)" + es: "Metadatos Filtrados (Excel)" + de: "Gefilterte Metadaten (Excel)" + filtered_metadata_csv: + en: "Filtered Metadata (CSV)" + es: "Metadatos Filtrados (CSV)" + de: "Gefilterte Metadaten (CSV)" + more_exports: + en: "More Exports" + es: "Más Exportaciones" + de: "Weitere Exporte" timeline-js.html: collection-banner.html: featured-items: @@ -607,6 +623,37 @@ _layouts: en: "Loading" es: "Cargando" de: "Laden" + objects: + en: "Objects" + de: "Objekte" + timeline: + en: "Timeline" + es: "Línea de tiempo" + de: "Zeitachse" + subjects: + en: "Subjects" + es: "Temas" + de: "Themen" + eras: + en: "Eras" + es: "Épocas" + de: "Epochen" + view-objects: + en: "Show object view" + de: "Zeige Objektansicht" + view-timeline: + en: "Show objects on timeline" + de: "Zeige Objekte auf einer Zeitachse" + view-subjects: + en: "Show list of subjects" + de: "Zeige Liste mit Schlagwörtern" + view-eras: + en: "Show list of eras" + de: "Zeige Liste der Epochen" + switch-view: + en: "Switch view" + es: "Cambiar Vista" + de: "Ansicht wechseln" cloud.html: data.html: link: diff --git a/_includes/js/switch-view-js.html b/_includes/js/switch-view-js.html new file mode 100644 index 00000000..f72e7213 --- /dev/null +++ b/_includes/js/switch-view-js.html @@ -0,0 +1,38 @@ + diff --git a/_includes/js/table-js.html b/_includes/js/table-js.html index a7fe43ac..af91cbf2 100644 --- a/_includes/js/table-js.html +++ b/_includes/js/table-js.html @@ -1,5 +1,17 @@ {% assign fcount = site.data['config-table'] | size %} {% assign lang = site.lang %} +{% assign download_dropdown = site.data.translations._includes.js['table-js.html'].download[site.lang] + | default: 'Download' +%} +{% assign excel_export = site.data.translations._includes.js['table-js.html'].filtered_metadata_excel[site.lang] + | default: 'Filtered Metadata (Excel)' +%} +{% assign csv_export = site.data.translations._includes.js['table-js.html'].filtered_metadata_csv[site.lang] + | default: 'Filtered Metadata (CSV)' +%} +{% assign more_exports = site.data.translations._includes.js['table-js.html'].more_exports[site.lang] + | default: 'More Exports' +%} {% include data-download-modal.html show_button=false %}