mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-28 15:56:39 +00:00
easier to delete resources
This commit is contained in:
@@ -153,8 +153,7 @@
|
|||||||
"protected": "Protected",
|
"protected": "Protected",
|
||||||
"notProtected": "Not Protected",
|
"notProtected": "Not Protected",
|
||||||
"resourceMessageRemove": "Once removed, the resource will no longer be accessible. All targets associated with the resource will also be removed.",
|
"resourceMessageRemove": "Once removed, the resource will no longer be accessible. All targets associated with the resource will also be removed.",
|
||||||
"resourceMessageConfirm": "To confirm, please type the name of the resource below.",
|
"resourceQuestionRemove": "Are you sure you want to remove the resource from the organization?",
|
||||||
"resourceQuestionRemove": "Are you sure you want to remove the resource {selectedResource} from the organization?",
|
|
||||||
"resourceHTTP": "HTTPS Resource",
|
"resourceHTTP": "HTTPS Resource",
|
||||||
"resourceHTTPDescription": "Proxy requests to your app over HTTPS using a subdomain or base domain.",
|
"resourceHTTPDescription": "Proxy requests to your app over HTTPS using a subdomain or base domain.",
|
||||||
"resourceRaw": "Raw TCP/UDP Resource",
|
"resourceRaw": "Raw TCP/UDP Resource",
|
||||||
|
|||||||
@@ -118,7 +118,7 @@ export default function InviteUserForm({
|
|||||||
<div>
|
<div>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
{t("type")}
|
{t("type")}
|
||||||
<span className="px-2 py-1 rounded-md font-medium bg-secondary"><CopyToClipboard text={string} /></span>
|
<span className="px-2 py-1 rounded-md bg-secondary"><CopyToClipboard text={string} /></span>
|
||||||
{t("toConfirm")}
|
{t("toConfirm")}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -695,17 +695,12 @@ export default function ResourcesTable({
|
|||||||
}}
|
}}
|
||||||
dialog={
|
dialog={
|
||||||
<div>
|
<div>
|
||||||
<p className="mb-2">
|
<p>
|
||||||
{t("resourceQuestionRemove", {
|
{t("resourceQuestionRemove")}
|
||||||
selectedResource:
|
</p>
|
||||||
selectedResource?.name ||
|
<p>
|
||||||
selectedResource?.id
|
{t("resourceMessageRemove")}
|
||||||
})}
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p className="mb-2">{t("resourceMessageRemove")}</p>
|
|
||||||
|
|
||||||
<p>{t("resourceMessageConfirm")}</p>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
buttonText={t("resourceDeleteConfirm")}
|
buttonText={t("resourceDeleteConfirm")}
|
||||||
@@ -724,17 +719,12 @@ export default function ResourcesTable({
|
|||||||
}}
|
}}
|
||||||
dialog={
|
dialog={
|
||||||
<div>
|
<div>
|
||||||
<p className="mb-2">
|
<p>
|
||||||
{t("resourceQuestionRemove", {
|
{t("resourceQuestionRemove")}
|
||||||
selectedResource:
|
</p>
|
||||||
selectedInternalResource?.name ||
|
<p>
|
||||||
selectedInternalResource?.id
|
{t("resourceMessageRemove")}
|
||||||
})}
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p className="mb-2">{t("resourceMessageRemove")}</p>
|
|
||||||
|
|
||||||
<p>{t("resourceMessageConfirm")}</p>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
buttonText={t("resourceDeleteConfirm")}
|
buttonText={t("resourceDeleteConfirm")}
|
||||||
|
|||||||
Reference in New Issue
Block a user