-
-
-
{{ firstName }} {{ lastName }}
-
- {{ amount | GDD }}
+
+
+
+
+
+
+
{{ firstName }} {{ lastName }}
+
+ {{ amount | GDD }}
+
+ {{ $t('math.minus') }}
+
{{ $d(new Date(date), 'short') }}
- {{ $t('math.minus') }}
-
{{ $d(new Date(date), 'short') }}
-
-
- {{ $t('contribution.date') }}
-
- {{ $d(new Date(contributionDate), 'monthAndYear') }}
-
-
-
{{ memo }}
-
+
+ {{ $t('contribution.date') }}
+
+ {{ $d(new Date(contributionDate), 'monthAndYear') }}
+
+
+
{{ memo }}
-
-
-
+
+
+ {{ $t('contribution.alert.answerQuestion') }}
+
+
+
+
+
+
+
diff --git a/frontend/src/graphql/mutations.js b/frontend/src/graphql/mutations.js
index 959bdefc3..9846784d5 100644
--- a/frontend/src/graphql/mutations.js
+++ b/frontend/src/graphql/mutations.js
@@ -122,3 +122,17 @@ export const deleteContribution = gql`
deleteContribution(id: $id)
}
`
+
+export const createContributionMessage = gql`
+ mutation($contributionId: Float!, $message: String!) {
+ createContributionMessage(contributionId: $contributionId, message: $message) {
+ id
+ message
+ createdAt
+ updatedAt
+ type
+ userFirstName
+ userLastName
+ }
+ }
+`
diff --git a/frontend/src/graphql/queries.js b/frontend/src/graphql/queries.js
index 88c312a3f..07b016d0a 100644
--- a/frontend/src/graphql/queries.js
+++ b/frontend/src/graphql/queries.js
@@ -257,3 +257,26 @@ export const searchAdminUsers = gql`
}
}
`
+
+export const listContributionMessages = gql`
+ query($contributionId: Float!, $pageSize: Int = 25, $currentPage: Int = 1, $order: Order = ASC) {
+ listContributionMessages(
+ contributionId: $contributionId
+ pageSize: $pageSize
+ currentPage: $currentPage
+ order: $order
+ ) {
+ count
+ messages {
+ id
+ message
+ createdAt
+ updatedAt
+ type
+ userFirstName
+ userLastName
+ userId
+ }
+ }
+ }
+`
diff --git a/frontend/src/locales/de.json b/frontend/src/locales/de.json
index 7c9f37370..1525ed98c 100644
--- a/frontend/src/locales/de.json
+++ b/frontend/src/locales/de.json
@@ -22,6 +22,7 @@
"continue-to-registration": "Weiter zur Registrierung",
"current-community": "Aktuelle Gemeinschaft",
"members": "Mitglieder",
+ "moderator": "Moderator",
"moderators": "Moderatoren",
"myContributions": "Meine Beiträge zum Gemeinwohl",
"openContributionLinks": "öffentliche Beitrags-Linkliste",
@@ -34,10 +35,11 @@
"contribution": {
"activity": "Tätigkeit",
"alert": {
+ "answerQuestion": "Bitte beantworte die Nachfrage",
"communityNoteList": "Hier findest du alle eingereichten und bestätigten Beiträge von allen Mitgliedern aus dieser Gemeinschaft.",
"confirm": "bestätigt",
+ "in_progress": "Es gibt eine Rückfrage der Moderatoren.",
"myContributionNoteList": "Eingereichte Beiträge, die noch nicht bestätigt wurden, kannst du jederzeit bearbeiten oder löschen.",
- "myContributionNoteSupport": "Es wird bald an dieser Stelle die Möglichkeit geben das ein Dialog zwischen Moderatoren und dir stattfinden kann. Solltest du jetzt Probleme haben bitte nimm Kontakt mit dem Support auf.",
"pending": "Eingereicht und wartet auf Bestätigung",
"rejected": "abgelehnt"
},
@@ -130,6 +132,7 @@
"password_new_repeat": "Neues Passwort wiederholen",
"password_old": "Altes Passwort",
"recipient": "Empfänger",
+ "reply": "Antworten",
"reset": "Zurücksetzen",
"save": "Speichern",
"scann_code": "
QR Code Scanner - Scanne den QR Code deines Partners",
@@ -219,6 +222,7 @@
"email": "Wir haben dir eine E-Mail gesendet.",
"errorTitle": "Achtung!",
"register": "Du bist jetzt registriert, bitte überprüfe deine Emails und klicke auf den Aktivierungslink.",
+ "reply": "Danke, Deine Antwort wurde abgesendet.",
"reset": "Dein Passwort wurde geändert.",
"title": "Danke!",
"unsetPassword": "Dein Passwort wurde noch nicht gesetzt. Bitte setze es neu."
diff --git a/frontend/src/locales/en.json b/frontend/src/locales/en.json
index 8fe5f31ad..6ec9ef8b8 100644
--- a/frontend/src/locales/en.json
+++ b/frontend/src/locales/en.json
@@ -22,6 +22,7 @@
"continue-to-registration": "Continue to registration",
"current-community": "Current community",
"members": "Members",
+ "moderator": "Moderator",
"moderators": "Moderators",
"myContributions": "My contributions to the common good",
"openContributionLinks": "open Contribution links list",
@@ -34,10 +35,11 @@
"contribution": {
"activity": "Activity",
"alert": {
+ "answerQuestion": "Please answer the question",
"communityNoteList": "Here you will find all submitted and confirmed contributions from all members of this community.",
"confirm": "confirmed",
+ "in_progress": "There is a question from the moderators.",
"myContributionNoteList": "You can edit or delete entries that have not yet been confirmed at any time.",
- "myContributionNoteSupport": "Soon there will be the possibility for a dialogue between moderators and you. If you have any problems now, please contact the support.",
"pending": "Submitted and waiting for confirmation",
"rejected": "deleted"
},
@@ -130,6 +132,7 @@
"password_new_repeat": "Repeat new password",
"password_old": "Old password",
"recipient": "Recipient",
+ "reply": "Reply",
"reset": "Reset",
"save": "Save",
"scann_code": "
QR Code Scanner - Scan the QR Code of your partner",
@@ -219,6 +222,7 @@
"email": "We have sent you an email.",
"errorTitle": "Attention!",
"register": "You are registered now, please check your emails and click the activation link.",
+ "reply": "Thank you, your reply has been sent.",
"reset": "Your password has been changed.",
"title": "Thank you!",
"unsetPassword": "Your password has not been set yet. Please set it again."
diff --git a/frontend/src/locales/es.json b/frontend/src/locales/es.json
index f95344b23..939a877f7 100644
--- a/frontend/src/locales/es.json
+++ b/frontend/src/locales/es.json
@@ -22,6 +22,7 @@
"continue-to-registration": "Continuar con el registro",
"current-community": "Comunidad actual",
"members": "Miembros",
+ "moderator": "Moderador",
"moderators": "Moderadores",
"myContributions": "Mis contribuciones al bien común",
"openContributionLinks": "lista de enlaces de contribuciones públicas",
@@ -34,10 +35,11 @@
"contribution": {
"activity": "Actividad",
"alert": {
+ "answerQuestion": "Por favor, contesta las preguntas",
"communityNoteList": "Aquí encontrarás todas las contribuciones enviadas y confirmadas de todos los miembros de esta comunidad.",
"confirm": "confirmado",
+ "in_progress": "Hay una pregunta de los moderatores.",
"myContributionNoteList": "Puedes editar o eliminar las contribuciones enviadas que aún no han sido confirmadas en cualquier momento.",
- "myContributionNoteSupport": "Pronto existirá la posibilidad de que puedas dialogar con los moderadores. Si tienes algún problema ahora, ponte en contacto con el equipo de asistencia.",
"pending": "Enviado y a la espera de confirmación",
"rejected": "rechazado"
},
@@ -130,6 +132,7 @@
"password_new_repeat": "Repetir contraseña nueva",
"password_old": "contraseña antigua",
"recipient": "Destinatario",
+ "reply": "Respuesta",
"reset": "Restablecer",
"save": "Guardar",
"scann_code": "
QR Code Scanner - Escanea el código QR de tu pareja",
@@ -219,6 +222,7 @@
"email": "Te hemos enviado un correo electrónico.",
"errorTitle": "Atención!",
"register": "Ya estás registrado, por favor revisa tu correo electrónico y haz clic en el enlace de activación.",
+ "reply": "Gracias, tu respuesta ha sido enviada.",
"reset": "Tu contraseña ha sido cambiada.",
"title": "Gracias!",
"unsetPassword": "Tu contraseña aún no ha sido configurada. Por favor reinícialo."
diff --git a/frontend/src/locales/fr.json b/frontend/src/locales/fr.json
index 44a08cd82..07237d16d 100644
--- a/frontend/src/locales/fr.json
+++ b/frontend/src/locales/fr.json
@@ -22,6 +22,7 @@
"continue-to-registration": "Continuez l´inscription",
"current-community": "Communauté actuelle",
"members": "Membres",
+ "moderator": "Modérateur",
"moderators": "Modérateurs",
"myContributions": "Mes contributions aux biens communs",
"openContributionLinks": "liste de liens de contribution publique",
@@ -34,10 +35,11 @@
"contribution": {
"activity": "Activité",
"alert": {
+ "answerQuestion": "S'il te plais répond à la question",
"communityNoteList": "Vous trouverez ci-contre toutes les contributions versées et certifiées de tous les membres de cette communauté.",
"confirm": " Approuvé",
+ "in_progress": "Il y a une question du modérateur.",
"myContributionNoteList": "À tout moment vous pouvez éditer ou supprimer les données qui n´ont pas été confirmées.",
- "myContributionNoteSupport": "Vous aurez bientôt la possibilité de dialoguer avec un médiateur. Si vous rencontrez un problème maintenant, merci de contacter l´aide en ligne.",
"pending": "Inscription en attente de validation",
"rejected": "supprimé"
},
@@ -130,6 +132,7 @@
"password_new_repeat": "Répétez le nouveau mot de passe",
"password_old": "Ancien mot de passe",
"recipient": "Destinataire",
+ "reply": "Répondre",
"reset": "Réinitialiser",
"save": "Sauvegarder",
"scann_code": "
QR Code Scanner - Scannez le QR code de votre partenaire",
@@ -219,6 +222,7 @@
"email": "Nous vous avons envoyé un email.",
"errorTitle": "Attention!",
"register": "Vous êtes enregistré maintenant, merci de vérifier votre boîte mail et cliquer sur le lien d´activation.",
+ "reply": "Merci, ta réponse a été envoyée.",
"reset": "Votre mot de passe a été modifié.",
"title": "Merci!",
"unsetPassword": "Votre mot de passe n´a pas été accepté. Merci de le réinitialiser."
diff --git a/frontend/src/locales/nl.json b/frontend/src/locales/nl.json
index f817d1458..f84cdaa2a 100644
--- a/frontend/src/locales/nl.json
+++ b/frontend/src/locales/nl.json
@@ -22,6 +22,7 @@
"continue-to-registration": "Verder ter registratie",
"current-community": "Actuele gemeenschap",
"members": "Leden",
+ "moderator": "Moderator",
"moderators": "Moderators",
"myContributions": "Mijn bijdragen voor het algemeen belang",
"openContributionLinks": "openbare lijst van bijdragen",
@@ -34,10 +35,11 @@
"contribution": {
"activity": "Activiteit",
"alert": {
+ "answerQuestion": "Please answer the question",
"communityNoteList": "Hier vind je alle ingediende en bevestigde bijdragen van alle leden uit deze gemeenschap.",
"confirm": "bevestigt",
+ "in_progress": "There is a question from the moderators.",
"myContributionNoteList": "Ingediende bijdragen, die nog niet bevestigd zijn, kun je op elk moment wijzigen of verwijderen.",
- "myContributionNoteSupport": "Hier heb je binnenkort de mogelijkheid een gesprek met een moderator te voeren. Mocht je nu problemen hebben, dan neem alsjeblieft contact op met Support.",
"pending": "Ingediend en wacht op bevestiging",
"rejected": "afgewezen"
},
@@ -130,6 +132,7 @@
"password_new_repeat": "Nieuw wachtwoord herhalen",
"password_old": "Oud wachtwoord",
"recipient": "Ontvanger",
+ "reply": "Antwoord",
"reset": "Resetten",
"save": "Opslaan",
"scann_code": "
QR Code Scanner - Scan de QR Code van uw partner",
@@ -219,6 +222,7 @@
"email": "We hebben jou een email gestuurd.",
"errorTitle": "Opgelet!",
"register": "Je bent nu geregistreerd. Controleer alsjeblieft je emails en klik op de activeringslink.",
+ "reply": "Dank u, uw antwoord is verzonden.",
"reset": "Jouw wachtwoord werd gewijzigd.",
"title": "Dankjewel!",
"unsetPassword": "Jouw wachtwoord werd nog niet ingesteld. Doe het alsjeblieft opnieuw."
diff --git a/frontend/src/pages/Community.spec.js b/frontend/src/pages/Community.spec.js
index b4aa43785..26d30c1d9 100644
--- a/frontend/src/pages/Community.spec.js
+++ b/frontend/src/pages/Community.spec.js
@@ -93,9 +93,7 @@ describe('Community', () => {
expect(wrapper.findAll('div[role="tabpanel"]')).toHaveLength(3)
})
- it('has first tab active by default', () => {
- expect(wrapper.findAll('div[role="tabpanel"]').at(0).classes('active')).toBe(true)
- })
+ it.todo('check for correct tabIndex if state is "IN_PROGRESS" or not')
})
describe('API calls after creation', () => {
diff --git a/frontend/src/pages/Community.vue b/frontend/src/pages/Community.vue
index 64aca6156..8906f40e7 100644
--- a/frontend/src/pages/Community.vue
+++ b/frontend/src/pages/Community.vue
@@ -2,7 +2,7 @@