Implement dislplay email for admins

This commit is contained in:
aonomike 2019-10-04 16:55:53 +03:00
parent eae19ca33d
commit 64b9ca7f43
3 changed files with 5 additions and 7 deletions

View File

@ -259,6 +259,7 @@
"columns": {
"number": "Nr.",
"name": "Name",
"email": "E-mail",
"slug": "Slug",
"role": "Rolle",
"createdAt": "Erstellt am"

View File

@ -260,6 +260,7 @@
"columns": {
"number": "No.",
"name": "Name",
"email": "E-mail",
"slug": "Slug",
"role": "Role",
"createdAt": "Created at"

View File

@ -34,14 +34,9 @@
</nuxt-link>
</template>
<template slot="email" slot-scope="scope">
<nuxt-link
:to="{
name: 'profile-id-slug',
params: { id: scope.row.id, slug: scope.row.slug },
}"
>
<a :href="`mailto:${scope.row.email}`">
<b>{{ scope.row.email }}</b>
</nuxt-link>
</a>
</template>
<template slot="slug" slot-scope="scope">
<nuxt-link
@ -102,6 +97,7 @@ export default {
return {
index: this.$t('admin.users.table.columns.number'),
name: this.$t('admin.users.table.columns.name'),
email: this.$t('admin.users.table.columns.email'),
slug: this.$t('admin.users.table.columns.slug'),
createdAt: this.$t('admin.users.table.columns.createdAt'),
contributionsCount: {