mirror of
https://git.notfire.cc/notfire/akkoma-fe.git
synced 2026-01-11 13:33:24 -08:00
add bite back support, cleanup
This commit is contained in:
parent
4f402d43a4
commit
bbe87c4743
7 changed files with 44 additions and 5 deletions
|
|
@ -111,7 +111,7 @@
|
|||
{{ ' ' }}
|
||||
<small>{{ $t('notifications.follow_request') }}</small>
|
||||
</span>
|
||||
<span v-if="notification.type === 'bite'">
|
||||
<span v-if="notification.type === 'bite' && notification.bite_back === false">
|
||||
<FAIcon
|
||||
class="type-icon"
|
||||
icon="tooth"
|
||||
|
|
@ -127,6 +127,14 @@
|
|||
{{ ' ' }}
|
||||
<small>{{ $t('notifications.bit_note') }}</small>
|
||||
</span>
|
||||
<span v-if="notification.type === 'bite' && notification.bite_back === true">
|
||||
<FAIcon
|
||||
class="type-icon"
|
||||
icon="tooth"
|
||||
/>
|
||||
{{ ' ' }}
|
||||
<small>{{ $t('notifications.bit_back') }}</small>
|
||||
</span>
|
||||
<span v-if="notification.type === 'update'">
|
||||
<FAIcon
|
||||
class="type-icon"
|
||||
|
|
@ -260,6 +268,16 @@
|
|||
|
||||
class="move-text"
|
||||
>
|
||||
<button
|
||||
class="btn button-default"
|
||||
@click="biteBack"
|
||||
>
|
||||
{{ $t('notifications.bite_back') }}
|
||||
<FAIcon
|
||||
class="type-icon"
|
||||
icon="tooth"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
<template v-else>
|
||||
<StatusContent
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue