2019-02-25 20:34:24 -08:00
|
|
|
<template>
|
|
|
|
<basic-user-card :user="user">
|
2019-02-26 07:14:12 -08:00
|
|
|
<template slot="tertiary-area">
|
2019-02-26 12:18:22 -08:00
|
|
|
<div class="follow-request-card-btns-container">
|
2019-02-25 20:34:24 -08:00
|
|
|
<button class="btn btn-default" @click="approveUser">{{ $t('user_card.approve') }}</button>
|
|
|
|
<button class="btn btn-default" @click="denyUser">{{ $t('user_card.deny') }}</button>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</basic-user-card>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./follow_request_card.js"></script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2019-02-26 12:18:22 -08:00
|
|
|
.follow-request-card-btns-container {
|
2019-02-25 20:34:24 -08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
button {
|
|
|
|
margin-top: 0.5em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
flex: 1 1;
|
|
|
|
max-width: 12em;
|
|
|
|
min-width: 8em;
|
2019-02-26 08:00:25 -08:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-02-25 20:34:24 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|