Merge all slots of BasicUserCard into one

This commit is contained in:
taehoon 2019-02-27 11:58:29 -05:00
parent 6e41b4b546
commit 0e86681aba
4 changed files with 46 additions and 65 deletions

View file

@ -1,6 +1,6 @@
<template>
<basic-user-card :user="user">
<template slot="secondary-area">
<div class="block-card-content-container">
<button class="btn btn-default" @click="unblockUser" :disabled="progress" v-if="blocked">
<template v-if="progress">
{{ $t('user_card.unblock_progress') }}
@ -17,8 +17,18 @@
{{ $t('user_card.block') }}
</template>
</button>
</template>
</div>
</basic-user-card>
</template>
<script src="./block_card.js"></script>
<script src="./block_card.js"></script>
<style lang="scss">
.block-card-content-container {
margin-top: 0.5em;
text-align: right;
button {
width: 10em;
}
}
</style>