forked from AkkomaGang/akkoma-fe
clean up
This commit is contained in:
parent
d3cad54aa3
commit
c81bde0c1d
1 changed files with 6 additions and 18 deletions
|
@ -205,21 +205,15 @@
|
||||||
<div class="bulk-actions-wrapper">
|
<div class="bulk-actions-wrapper">
|
||||||
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => blockUsers(p.selected)">
|
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => blockUsers(p.selected)">
|
||||||
{{ $t('user_card.block') }}
|
{{ $t('user_card.block') }}
|
||||||
<template slot="progress">
|
<template slot="progress">{{ $t('user_card.block_progress') }}</template>
|
||||||
{{ $t('user_card.block_progress') }}
|
|
||||||
</template>
|
|
||||||
</ProgressButton>
|
</ProgressButton>
|
||||||
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => unblockUsers(p.selected)">
|
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => unblockUsers(p.selected)">
|
||||||
{{ $t('user_card.unblock') }}
|
{{ $t('user_card.unblock') }}
|
||||||
<template slot="progress">
|
<template slot="progress">{{ $t('user_card.unblock_progress') }}</template>
|
||||||
{{ $t('user_card.unblock_progress') }}
|
|
||||||
</template>
|
|
||||||
</ProgressButton>
|
</ProgressButton>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot="item" slot-scope="p">
|
<template slot="item" slot-scope="p"><BlockCard :userId="p.item" /></template>
|
||||||
<BlockCard :userId="p.item" />
|
|
||||||
</template>
|
|
||||||
<template slot="empty">{{$t('settings.no_blocks')}}</template>
|
<template slot="empty">{{$t('settings.no_blocks')}}</template>
|
||||||
</BlockList>
|
</BlockList>
|
||||||
</div>
|
</div>
|
||||||
|
@ -235,21 +229,15 @@
|
||||||
<div class="bulk-actions-wrapper">
|
<div class="bulk-actions-wrapper">
|
||||||
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => muteUsers(p.selected)">
|
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => muteUsers(p.selected)">
|
||||||
{{ $t('user_card.mute') }}
|
{{ $t('user_card.mute') }}
|
||||||
<template slot="progress">
|
<template slot="progress">{{ $t('user_card.mute_progress') }}</template>
|
||||||
{{ $t('user_card.mute_progress') }}
|
|
||||||
</template>
|
|
||||||
</ProgressButton>
|
</ProgressButton>
|
||||||
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => unmuteUsers(p.selected)">
|
<ProgressButton class="btn btn-default" v-if="p.selected.length > 0" :click="() => unmuteUsers(p.selected)">
|
||||||
{{ $t('user_card.unmute') }}
|
{{ $t('user_card.unmute') }}
|
||||||
<template slot="progress">
|
<template slot="progress">{{ $t('user_card.unmute_progress') }}</template>
|
||||||
{{ $t('user_card.unmute_progress') }}
|
|
||||||
</template>
|
|
||||||
</ProgressButton>
|
</ProgressButton>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<template slot="item" slot-scope="p">
|
<template slot="item" slot-scope="p"><MuteCard :userId="p.item" /></template>
|
||||||
<MuteCard :userId="p.item" />
|
|
||||||
</template>
|
|
||||||
<template slot="empty">{{$t('settings.no_mutes')}}</template>
|
<template slot="empty">{{$t('settings.no_mutes')}}</template>
|
||||||
</MuteList>
|
</MuteList>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue