Skip to content

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

chore: add description for environment tier (#3109)

boojackbfcef2fa387a
diff --git a/frontend/src/components/EnvironmentForm.vue b/frontend/src/components/EnvironmentForm.vue
index 671fa0be5f..0fd37e9a9c 100644
--- a/frontend/src/components/EnvironmentForm.vue
+++ b/frontend/src/components/EnvironmentForm.vue
@@ -25,6 +25,16 @@
class="text-accent"
/>
</label>
+ <p class="mt-2 text-sm flex items-center text-gray-600">
+ {{ $t("policy.environment-tier.description") }}
+ <a
+ class="flex items-center text-blue-600 ml-1 hover:underline"
+ href="https://www.bytebase.com/docs/administration/environment-policy/tier"
+ target="_blank"
+ >{{ $t("common.learn-more")
+ }}<heroicons-outline:external-link class="w-4 h-4"
+ /></a>
+ </p>
<div class="mt-4 flex flex-col space-y-4">
<div class="flex space-x-4">
<BBCheckbox
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 96d15a27d3..c130933f60 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -761,6 +761,7 @@
},
"environment-tier": {
"name": "Environment tier",
+ "description": "The environment will appear differently from other environments.",
"mark-env-as-protected": "Mark as protected environment"
}
},
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index d4efdf090e..a1cd24640a 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -761,6 +761,7 @@
},
"environment-tier": {
"name": "环境级别",
+ "description": "使该环境在显示上不同于其他环境。",
"mark-env-as-protected": "标记为受保护的环境"
}
},