mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 20:26:40 +00:00
💄 Standardize go back to blueprints
This commit is contained in:
@@ -1167,7 +1167,7 @@
|
|||||||
"blueprints": "Blueprints",
|
"blueprints": "Blueprints",
|
||||||
"blueprintsDescription": "Blueprints are declarative YAML configurations that define your resources and their settings",
|
"blueprintsDescription": "Blueprints are declarative YAML configurations that define your resources and their settings",
|
||||||
"blueprintAdd": "Add Blueprint",
|
"blueprintAdd": "Add Blueprint",
|
||||||
"blueprintGoBack": "Back to blueprints",
|
"blueprintGoBack": "See all Blueprints",
|
||||||
"blueprintCreate": "Create blueprint",
|
"blueprintCreate": "Create blueprint",
|
||||||
"blueprintCreateDescription2": "Follow the steps below to create and apply a new blueprint",
|
"blueprintCreateDescription2": "Follow the steps below to create and apply a new blueprint",
|
||||||
"blueprintDetails": "Blueprint details",
|
"blueprintDetails": "Blueprint details",
|
||||||
|
|||||||
@@ -47,18 +47,10 @@ export default async function BluePrintDetailPage(props: BluePrintsPageProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex flex-col gap-2 items-start">
|
<SettingsSectionTitle
|
||||||
<Button variant="link" asChild className="gap-1 px-0">
|
title={t("blueprintDetails")}
|
||||||
<Link href={`/${params.orgId}/settings/blueprints`}>
|
description={t("blueprintDetailsDescription")}
|
||||||
<ArrowLeft className="size-4 flex-none" />
|
/>
|
||||||
{t("blueprintGoBack")}
|
|
||||||
</Link>
|
|
||||||
</Button>
|
|
||||||
<SettingsSectionTitle
|
|
||||||
title={t("blueprintDetails")}
|
|
||||||
description={t("blueprintDetailsDescription")}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<BlueprintDetailsForm blueprint={blueprint} />
|
<BlueprintDetailsForm blueprint={blueprint} />
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -24,17 +24,16 @@ export default async function CreateBlueprintPage(
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="flex flex-col gap-2 items-start">
|
<div className="flex gap-2 justify-between">
|
||||||
<Button variant="link" asChild className="gap-1 px-0">
|
|
||||||
<Link href={`/${orgId}/settings/blueprints`}>
|
|
||||||
<ArrowLeft className="size-4 flex-none" />{" "}
|
|
||||||
{t("blueprintGoBack")}
|
|
||||||
</Link>
|
|
||||||
</Button>
|
|
||||||
<SettingsSectionTitle
|
<SettingsSectionTitle
|
||||||
title={t("blueprintCreate")}
|
title={t("blueprintCreate")}
|
||||||
description={t("blueprintCreateDescription2")}
|
description={t("blueprintCreateDescription2")}
|
||||||
/>
|
/>
|
||||||
|
<Button variant="outline" asChild>
|
||||||
|
<Link href={`/${orgId}/settings/blueprints`}>
|
||||||
|
{t("blueprintGoBack")}
|
||||||
|
</Link>
|
||||||
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<CreateBlueprintForm orgId={orgId} />
|
<CreateBlueprintForm orgId={orgId} />
|
||||||
|
|||||||
Reference in New Issue
Block a user