Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: show a button in trialing modal (#4972)

ecmadao5ab61056ab40
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 8811c562b7..4216569a72 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -1617,6 +1617,7 @@
"trial-start-modal": {
"title": "Start your {plan} trial",
"content": "Your {plan} trial has started! You can access {plan} features before {date}.",
+ "button": "Got it",
"subscription-page": "subscription page",
"subscription": "Go to the {page} to learn these features and our plans."
},
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 494fa6d88f..aead1accff 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -1616,6 +1616,7 @@
"trial-start-modal": {
"title": "已开启{plan}试用",
"content": "您的{plan}试用已开启!在 {date} 之前所有{plan}功能将不受限制。",
+ "button": "了解",
"subscription-page": "订阅页面",
"subscription": "可以在{page}查看我们的订阅方案及付费功能。"
},
diff --git a/frontend/src/views/Home.vue b/frontend/src/views/Home.vue
index 4fba772231..2eedf0a0fe 100644
--- a/frontend/src/views/Home.vue
+++ b/frontend/src/views/Home.vue
@@ -119,7 +119,7 @@
>
<div class="min-w-0 md:min-w-400 max-w-2xl">
<div class="flex justify-center items-center">
- <img :src="planImage" class="w-56 p-4" />
+ <img :src="planImage" class="w-56 px-4" />
<div class="text-lg space-y-2">
<p>
<i18n-t keypath="subscription.trial-start-modal.content">
@@ -154,6 +154,15 @@
</p>
</div>
</div>
+ <div class="flex justify-end space-x-2 pb-4">
+ <button
+ type="button"
+ class="btn-primary"
+ @click.prevent="onTrialingModalClose"
+ >
+ {{ $t("subscription.trial-start-modal.button") }}
+ </button>
+ </div>
</div>
</BBModal>
</template>