mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-16 18:01:28 +00:00
Prettify notifications table
This commit is contained in:
parent
dfecb525fd
commit
ff27a89579
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user