From 641d2d4cc24f5276f3f1ccf3b8e6d2b79f67d625 Mon Sep 17 00:00:00 2001 From: ogerly Date: Fri, 16 Sep 2022 09:58:41 +0200 Subject: [PATCH 01/18] creation date better represented --- .../components/CreationTransactionList.vue | 23 ++++++++++++------- admin/src/locales/de.json | 15 +++++++++--- admin/src/locales/en.json | 14 ++++++++--- 3 files changed, 38 insertions(+), 14 deletions(-) diff --git a/admin/src/components/CreationTransactionList.vue b/admin/src/components/CreationTransactionList.vue index ec5c12aa4..ba0c7be6a 100644 --- a/admin/src/components/CreationTransactionList.vue +++ b/admin/src/components/CreationTransactionList.vue @@ -2,6 +2,13 @@
{{ $t('transactionlist.title') }}
+
+ Hilfe + +
{{ $t('transactionlist.submitted') }} {{ $t('math.equals') }} {{ $t('help.transactionlist.submitted') }}
+
{{ $t('transactionlist.confirmed') }} {{ $t('math.equals') }} {{ $t('help.transactionlist.confirmed') }}
+
+
From 1c2df858f78df042583c3d0dd62f99c76b141460 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 22 Sep 2022 10:40:25 +0200 Subject: [PATCH 10/18] help text --- .../slots/ContributionMessagesListItem.spec.js | 2 +- admin/src/components/CreationTransactionList.vue | 8 ++++++++ admin/src/locales/de.json | 4 +++- admin/src/locales/en.json | 4 +++- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/admin/src/components/ContributionMessages/slots/ContributionMessagesListItem.spec.js b/admin/src/components/ContributionMessages/slots/ContributionMessagesListItem.spec.js index 7cca315d7..f8575492a 100644 --- a/admin/src/components/ContributionMessages/slots/ContributionMessagesListItem.spec.js +++ b/admin/src/components/ContributionMessages/slots/ContributionMessagesListItem.spec.js @@ -20,7 +20,7 @@ describe('ContributionMessagesListItem', () => { const propsData = { contributionId: 42, - state: 'PENDING0', + state: 'PENDING', message: { id: 111, message: 'asd asda sda sda', diff --git a/admin/src/components/CreationTransactionList.vue b/admin/src/components/CreationTransactionList.vue index 5f906f1bf..e9c885cdb 100644 --- a/admin/src/components/CreationTransactionList.vue +++ b/admin/src/components/CreationTransactionList.vue @@ -18,10 +18,18 @@ {{ $t('transactionlist.submitted') }} {{ $t('math.equals') }} {{ $t('help.transactionlist.submitted') }} +
+ {{ $t('transactionlist.period') }} {{ $t('math.equals') }} + {{ $t('help.transactionlist.periods') }} +
{{ $t('transactionlist.confirmed') }} {{ $t('math.equals') }} {{ $t('help.transactionlist.confirmed') }}
+
+ {{ $t('transactionlist.state') }} {{ $t('math.equals') }} + {{ $t('help.transactionlist.state') }} +
diff --git a/admin/src/locales/de.json b/admin/src/locales/de.json index 4f80fde4f..870ff31e4 100644 --- a/admin/src/locales/de.json +++ b/admin/src/locales/de.json @@ -78,7 +78,9 @@ "help": "Hilfe", "transactionlist": { "confirmed": "Wann wurde es von einem Moderator / Admin bestätigt.", - "submitted": "Für welchen Zeitraum wurde vom User eingereicht." + "state":"[PENDING = eingereicht, DELETED = gelöscht, IN_PROGRESS = im Dialog mit Moderator, DENIED = abgelehnt, CONFIRMED = bestätigt]", + "submitted": "Wann wurde es vom Mitglied eingereicht", + "periods": "Für welchen Zeitraum wurde vom Mitglied eingereicht." } }, "hide_details": "Details verbergen", diff --git a/admin/src/locales/en.json b/admin/src/locales/en.json index 6acf3ae60..9ba6f50f4 100644 --- a/admin/src/locales/en.json +++ b/admin/src/locales/en.json @@ -78,7 +78,9 @@ "help": "Help", "transactionlist": { "confirmed": "When was it confirmed by a moderator / admin.", - "submitted": "For which period was submitted by the user." + "state":"[PENDING = submitted, DELETED = deleted, IN_PROGRESS = in dialogue with moderator, DENIED = denied, CONFIRMED = confirmed]", + "submitted": "When was it submitted by the member", + "periods": "For what period was it submitted by the member." } }, "hide_details": "Hide details", From 1043ec1061d42895d1f25b38ee0bd2eee1aef0ef Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 22 Sep 2022 10:41:04 +0200 Subject: [PATCH 11/18] fix lint and locales --- admin/src/locales/de.json | 6 +++--- admin/src/locales/en.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin/src/locales/de.json b/admin/src/locales/de.json index 870ff31e4..f8251803a 100644 --- a/admin/src/locales/de.json +++ b/admin/src/locales/de.json @@ -78,9 +78,9 @@ "help": "Hilfe", "transactionlist": { "confirmed": "Wann wurde es von einem Moderator / Admin bestätigt.", - "state":"[PENDING = eingereicht, DELETED = gelöscht, IN_PROGRESS = im Dialog mit Moderator, DENIED = abgelehnt, CONFIRMED = bestätigt]", - "submitted": "Wann wurde es vom Mitglied eingereicht", - "periods": "Für welchen Zeitraum wurde vom Mitglied eingereicht." + "periods": "Für welchen Zeitraum wurde vom Mitglied eingereicht.", + "state": "[PENDING = eingereicht, DELETED = gelöscht, IN_PROGRESS = im Dialog mit Moderator, DENIED = abgelehnt, CONFIRMED = bestätigt]", + "submitted": "Wann wurde es vom Mitglied eingereicht" } }, "hide_details": "Details verbergen", diff --git a/admin/src/locales/en.json b/admin/src/locales/en.json index 9ba6f50f4..43073fff5 100644 --- a/admin/src/locales/en.json +++ b/admin/src/locales/en.json @@ -78,9 +78,9 @@ "help": "Help", "transactionlist": { "confirmed": "When was it confirmed by a moderator / admin.", - "state":"[PENDING = submitted, DELETED = deleted, IN_PROGRESS = in dialogue with moderator, DENIED = denied, CONFIRMED = confirmed]", - "submitted": "When was it submitted by the member", - "periods": "For what period was it submitted by the member." + "periods": "For what period was it submitted by the member.", + "state": "[PENDING = submitted, DELETED = deleted, IN_PROGRESS = in dialogue with moderator, DENIED = denied, CONFIRMED = confirmed]", + "submitted": "When was it submitted by the member" } }, "hide_details": "Hide details", From 976620e60359874178aeceebd6632ee1f737e025 Mon Sep 17 00:00:00 2001 From: ogerly Date: Thu, 22 Sep 2022 12:48:08 +0200 Subject: [PATCH 12/18] the name of the month written out --- admin/src/components/CreationTransactionList.vue | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/admin/src/components/CreationTransactionList.vue b/admin/src/components/CreationTransactionList.vue index e9c885cdb..2ce143c7f 100644 --- a/admin/src/components/CreationTransactionList.vue +++ b/admin/src/components/CreationTransactionList.vue @@ -1,7 +1,14 @@