diff --git a/webapp/components/Modal/DeleteUserModal.vue b/webapp/components/Modal/DeleteUserModal.vue index 312b35372..536aa2390 100644 --- a/webapp/components/Modal/DeleteUserModal.vue +++ b/webapp/components/Modal/DeleteUserModal.vue @@ -7,33 +7,32 @@
- {{ userdata.name }} - -
- -
-
- - Slug: - {{ userdata.slug }} - - - Id: - {{ userdata.id }} - - - contributionsCount: - {{ userdata.contributionsCount }} - - - commentedCount: - {{ userdata.commentedCount }} - - - createdAt: - {{ userdata.createdAt }} - -
+ + + + + + + {{ $t('modals.deleteUser.created') }}: +
+ +
+
+ + + + + + +
@@ -50,11 +49,15 @@ import gql from 'graphql-tag' import { mapMutations } from 'vuex' import { SweetalertIcon } from 'vue-sweetalert-icons' +import RelativeDateTime from '~/components/RelativeDateTime' +import UserTeaser from '~/components/UserTeaser/UserTeaser' export default { name: 'DeleteUserModal', components: { + UserTeaser, SweetalertIcon, + RelativeDateTime, }, props: { userdata: { type: Object, required: true }, diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 860988bac..4e3fbb5b1 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -1,4 +1,9 @@ { + "modals": { + "deleteUser": { + "created": "Erstellt" + } + }, "actions": { "cancel": "Abbrechen", "create": "Erstellen", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 3ae2218b8..092903aeb 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -1,4 +1,9 @@ { + "modals": { + "deleteUser": { + "created": "Created" + } + }, "actions": { "cancel": "Cancel", "create": "Create",