diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..23fd35f0 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "editor.formatOnSave": true +} \ No newline at end of file diff --git a/examples/ahiqar-arabic-karshuni-local.html b/examples/ahiqar-arabic-karshuni-local.html index 419983b3..9da1759e 100644 --- a/examples/ahiqar-arabic-karshuni-local.html +++ b/examples/ahiqar-arabic-karshuni-local.html @@ -72,6 +72,26 @@ all: true, }, citationKey: "Citation", + orderDocuments: ["manifest", "collection", "item"], + orderCollectionMetadata: [ + "title", + "collector", + "description", + ], + orderManifestMetadata: [ + "Label", + "License", + "Date of creation", + "Place of origin", + "Current location", + "TEI document", + ], + orderItemMetadata: [ + "label", + "language", + "image_license", + "image_notes", + ], }, }, }, diff --git a/src/.prettierrc.json b/src/.prettierrc.json new file mode 100644 index 00000000..b2095be8 --- /dev/null +++ b/src/.prettierrc.json @@ -0,0 +1,4 @@ +{ + "semi": false, + "singleQuote": true +} diff --git a/src/components/metadata/CollectionMetadata.vue b/src/components/metadata/CollectionMetadata.vue index f510268b..a5e5c632 100644 --- a/src/components/metadata/CollectionMetadata.vue +++ b/src/components/metadata/CollectionMetadata.vue @@ -1,52 +1,58 @@ diff --git a/src/components/metadata/ItemMetadata.vue b/src/components/metadata/ItemMetadata.vue index 469d278f..a03a1ca1 100644 --- a/src/components/metadata/ItemMetadata.vue +++ b/src/components/metadata/ItemMetadata.vue @@ -3,40 +3,52 @@

{{ $t(labels.item) }} {{ number }} / {{ total }}

-
+
diff --git a/src/components/metadata/ManifestMetadata.vue b/src/components/metadata/ManifestMetadata.vue index 7c688df8..7a17903a 100644 --- a/src/components/metadata/ManifestMetadata.vue +++ b/src/components/metadata/ManifestMetadata.vue @@ -1,16 +1,9 @@ diff --git a/src/components/metadata/MetadataItem.vue b/src/components/metadata/MetadataItem.vue index 98a2d5a8..5ca5af8c 100644 --- a/src/components/metadata/MetadataItem.vue +++ b/src/components/metadata/MetadataItem.vue @@ -1,20 +1,10 @@