aboutsummaryrefslogtreecommitdiff
path: root/src/components/block_card/block_card.vue
blob: 06fc67fc84807242a7a3577f22efa8ff4dbe3460 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<template>
  <basic-user-card :user="user">
    <template slot="secondary-area">
      <button class="btn btn-default" @click="unblockUser" :disabled="progress">
        <template v-if="progress">
          {{ $t('user_card.unblock_progress') }}
        </template>
        <template v-else>
          {{ $t('user_card.unblock') }}
        </template>
      </button>
    </template>
  </basic-user-card>
</template>

<script src="./block_card.js"></script>