Display creation date in user view

This commit is contained in:
Robert Schäfer 2019-07-13 14:14:21 +02:00
parent f9969b964c
commit 5da5b8658e
3 changed files with 9 additions and 2 deletions

View File

@ -196,7 +196,8 @@
"columns": {
"name": "Name",
"slug": "Slug",
"role": "Rolle"
"role": "Rolle",
"createdAt": "Erstellt am"
}
},
"empty": "Keine Benutzer gefunden"

View File

@ -197,7 +197,8 @@
"columns": {
"name": "Name",
"slug": "Slug",
"role": "Role"
"role": "Role",
"createdAt": "Created at"
}
},
"empty": "No users found"

View File

@ -43,6 +43,9 @@
<b>{{ scope.row.slug | truncate(20) }}</b>
</nuxt-link>
</template>
<template slot="createdAt" slot-scope="scope">
{{ scope.row.createdAt | dateTime }}
</template>
</ds-table>
<ds-flex direction="row-reverse">
<ds-flex-item width="50px">
@ -92,6 +95,7 @@ export default {
index: '#',
name: this.$t('admin.users.table.columns.name'),
slug: this.$t('admin.users.table.columns.slug'),
createdAt: this.$t('admin.users.table.columns.createdAt'),
contributionsCount: {
label: '🖉',
align: 'right',
@ -121,6 +125,7 @@ export default {
name
slug
role
createdAt
contributionsCount
commentedCount
shoutedCount