2019-02-26 15:34:24 +11:00
|
|
|
<template>
|
|
|
|
<basic-user-card :user="user">
|
2019-02-28 03:58:29 +11:00
|
|
|
<div class="follow-request-card-content-container">
|
2019-07-05 17:17:44 +10:00
|
|
|
<button
|
2020-11-24 21:32:42 +11:00
|
|
|
class="btn button-default"
|
2019-07-05 17:17:44 +10:00
|
|
|
@click="approveUser"
|
|
|
|
>
|
|
|
|
{{ $t('user_card.approve') }}
|
|
|
|
</button>
|
|
|
|
<button
|
2020-11-24 21:32:42 +11:00
|
|
|
class="btn button-default"
|
2019-07-05 17:17:44 +10:00
|
|
|
@click="denyUser"
|
|
|
|
>
|
|
|
|
{{ $t('user_card.deny') }}
|
|
|
|
</button>
|
2019-02-28 03:58:29 +11:00
|
|
|
</div>
|
2019-02-26 15:34:24 +11:00
|
|
|
</basic-user-card>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./follow_request_card.js"></script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2019-02-28 03:58:29 +11:00
|
|
|
.follow-request-card-content-container {
|
2019-02-26 15:34:24 +11: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-27 03:00:25 +11:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2019-02-26 15:34:24 +11:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|