Prettify notifications table

This commit is contained in:
Wolfgang Huß 2020-04-03 09:34:15 +02:00
parent dfecb525fd
commit ff27a89579

View File

@ -12,18 +12,16 @@
/>
</template>
<template #triggerer="scope">
<ds-space margin-bottom="base">
<client-only>
<user-teaser
:user="scope.row.triggerer"
:date-time="scope.row.createdAt"
:class="{ 'notification-status': scope.row.read }"
/>
</client-only>
</ds-space>
<ds-text :class="{ 'notification-status': scope.row.read, reason: true }">
{{ $t(`notifications.reason.${scope.row.reason}` + scope.row.reasonTranslationExtention) }}
</ds-text>
<client-only>
<user-teaser
:user="scope.row.triggerer"
:date-time="scope.row.createdAt"
:class="{ 'notification-status': scope.row.read }"
/>
</client-only>
</template>
<template #title="scope">
<nuxt-link