Fixed text when cloning (#9594)

This commit is contained in:
Keith Holliday
2017-11-28 19:18:04 -06:00
committed by GitHub
parent b03ddf6f7d
commit 3737aa045d

View File

@@ -57,8 +57,9 @@
You do not have enough gems to create a Tavern challenge You do not have enough gems to create a Tavern challenge
// @TODO if buy gems button is added, add analytics tracking to it // @TODO if buy gems button is added, add analytics tracking to it
// see https://github.com/HabitRPG/habitica/blob/develop/website/views/options/social/challenges.jade#L134 // see https://github.com/HabitRPG/habitica/blob/develop/website/views/options/social/challenges.jade#L134
button.btn.btn-primary(v-once, v-if='creating', @click='createChallenge()') {{$t('createChallengeCloneTasks')}} button.btn.btn-primary(v-once, v-if='creating && !cloning', @click='createChallenge()') {{$t('createChallengeAddTasks')}}
button.btn.btn-primary(v-once, v-if='!creating', @click='updateChallenge()') {{$t('updateChallenge')}} button.btn.btn-primary(v-once, v-if='cloning', @click='createChallenge()') {{$t('createChallengeCloneTasks')}}
button.btn.btn-primary(v-once, v-if='!creating && !cloning', @click='updateChallenge()') {{$t('updateChallenge')}}
.col-12.text-center .col-12.text-center
p(v-once) {{$t('challengeMinimum')}} p(v-once) {{$t('challengeMinimum')}}
</template> </template>