mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 11:43:09 +02:00
Refactor
This commit is contained in:
parent
4805b5115a
commit
06fd525950
1 changed files with 2 additions and 2 deletions
|
@ -11,11 +11,11 @@
|
|||
<div class="action-form">
|
||||
<ui-button @click="user.isMuted ? unmute() : mute()" v-if="$store.state.i.id != user.id">
|
||||
<span v-if="user.isMuted">%fa:eye% %i18n:@unmute%</span>
|
||||
<span v-if="!user.isMuted">%fa:eye-slash% %i18n:@mute%</span>
|
||||
<span v-else>%fa:eye-slash% %i18n:@mute%</span>
|
||||
</ui-button>
|
||||
<ui-button @click="user.isBlocking ? unblock() : block()" v-if="$store.state.i.id != user.id">
|
||||
<span v-if="user.isBlocking">%fa:user% %i18n:@unblock%</span>
|
||||
<span v-if="!user.isBlocking">%fa:user-slash% %i18n:@block%</span>
|
||||
<span v-else>%fa:user-slash% %i18n:@block%</span>
|
||||
</ui-button>
|
||||
<ui-button @click="list">%fa:list% %i18n:@push-to-a-list%</ui-button>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue