From 6e8d80e0ad1eb932cba5112871944c399c611ba1 Mon Sep 17 00:00:00 2001
From: Mark Hall <mark.hall@work.room3b.eu>
Date: Tue, 10 Dec 2019 13:23:18 +0000
Subject: [PATCH] Updated date metadata input labeling

---
 CHANGES.md                            | 1 +
 editor/static/editor/js/tei-editor.js | 4 ++--
 scripts/tei-editor/config.js          | 4 ++--
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index bf91410..9467415 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -3,6 +3,7 @@
 ## Development ():
 
 * **Update**: Updated the documentation
+* **Update**: Improved the labeling for date metadata inputs
 
 ## 0.8.12 (10.12.2019):
 
diff --git a/editor/static/editor/js/tei-editor.js b/editor/static/editor/js/tei-editor.js
index 6c8df75..f9fbeb5 100644
--- a/editor/static/editor/js/tei-editor.js
+++ b/editor/static/editor/js/tei-editor.js
@@ -161,7 +161,7 @@
                             },
                             {
                                 type: 'single-text',
-                                label: 'Veröffentlichungsdatum (JJJJ-MM-TT)',
+                                label: 'Veröffentlichungsdatum (JJJJ-MM-TT, JJJJ-MM, JJJJ)',
                                 path: 'profileDesc.creation.date._attrs.when'
                             },
                             {
@@ -241,7 +241,7 @@
                                     },
                                     {
                                         type: 'single-text',
-                                        label: 'Datum (JJJJ-MM-TT)',
+                                        label: 'Datum (JJJJ-MM-TT, JJJJ-MM, JJJJ)',
                                         path: '_attrs.when'
                                     }
                                 ]
diff --git a/scripts/tei-editor/config.js b/scripts/tei-editor/config.js
index 044ea36..a0182e2 100644
--- a/scripts/tei-editor/config.js
+++ b/scripts/tei-editor/config.js
@@ -161,7 +161,7 @@
                             },
                             {
                                 type: 'single-text',
-                                label: 'Veröffentlichungsdatum (JJJJ-MM-TT)',
+                                label: 'Veröffentlichungsdatum (JJJJ-MM-TT, JJJJ-MM, JJJJ)',
                                 path: 'profileDesc.creation.date._attrs.when'
                             },
                             {
@@ -241,7 +241,7 @@
                                     },
                                     {
                                         type: 'single-text',
-                                        label: 'Datum (JJJJ-MM-TT)',
+                                        label: 'Datum (JJJJ-MM-TT, JJJJ-MM, JJJJ)',
                                         path: '_attrs.when'
                                     }
                                 ]
-- 
GitLab