Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/src/components/banners/TeamTrial.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
You trial instances will be added to your billing subscription at the end of your trial.
</span>
<span v-else>
Click here to upgrade your team and keep your instances running.
Click here to setup billing
</span>
</span>
<span v-else>
Expand Down
7 changes: 5 additions & 2 deletions frontend/src/pages/team/Billing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@
</template>
<template #tools>
<div class="flex flex-row gap-x-4">
<ff-button v-if="!isUnmanaged" data-action="change-team-type" :to="{name: 'TeamChangeType'}">Upgrade Team</ff-button>
<ff-button v-if="!isUnmanaged" data-action="change-team-type" :to="{name: 'TeamChangeType'}">
<span v-if="trialMode || trialHasEnded">Click here to setup billing</span>
<span v-else>Upgrade Team</span>
</ff-button>
<ff-button v-if="subscription" @click="customerPortal()">
<template #icon-right><ExternalLinkIcon /></template>
Stripe Customer Portal
Expand Down Expand Up @@ -97,7 +100,7 @@
</template>
</template>
<template #actions>
<ff-button v-if="hasPermission('team:edit')" data-action="change-team-type" :to="{name: 'TeamChangeType'}">Setup Billing</ff-button>
<ff-button v-if="hasPermission('team:edit')" data-action="change-team-type" :to="{name: 'TeamChangeType'}">Start Billing</ff-button>
</template>
</EmptyState>
</ff-page>
Expand Down
Loading