aboutsummaryrefslogtreecommitdiff
path: root/src/components/follow_card/follow_card.vue
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-02-26 10:14:12 -0500
committertaehoon <th.dev91@gmail.com>2019-02-28 12:41:20 -0500
commit1fecac9ba6350216bb02ef156aa1573b546cee7f (patch)
tree00a65eb93397c9eb314868b988de29c056de0e7c /src/components/follow_card/follow_card.vue
parent8dd42cfc65cb572c5e218d01a0a19ab14d1e5591 (diff)
Update naming
Diffstat (limited to 'src/components/follow_card/follow_card.vue')
-rw-r--r--src/components/follow_card/follow_card.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/components/follow_card/follow_card.vue b/src/components/follow_card/follow_card.vue
index 936307c4..e6933e3c 100644
--- a/src/components/follow_card/follow_card.vue
+++ b/src/components/follow_card/follow_card.vue
@@ -5,10 +5,10 @@
v-if="showFollow"
class="btn btn-default"
@click="followUser"
- :disabled="progress"
+ :disabled="inProgress"
:title="requestSent ? $t('user_card.follow_again') : ''"
>
- <template v-if="progress">
+ <template v-if="inProgress">
{{ $t('user_card.follow_progress') }}
</template>
<template v-else-if="requestSent">
@@ -18,8 +18,8 @@
{{ $t('user_card.follow') }}
</template>
</button>
- <button v-if="following" class="btn btn-default pressed" @click="unfollowUser" :disabled="progress">
- <template v-if="progress">
+ <button v-if="following" class="btn btn-default pressed" @click="unfollowUser" :disabled="inProgress">
+ <template v-if="inProgress">
{{ $t('user_card.follow_progress') }}
</template>
<template v-else>
@@ -27,7 +27,7 @@
</template>
</button>
</template>
- <template slot="third-area">
+ <template slot="tertiary-area">
<span class="faint" v-if="!noFollowsYou && user.follows_you">
{{ isMe ? $t('user_card.its_you') : $t('user_card.follows_you') }}
</span>