From 6fe01cec0487fe7269e9376e8fc3fa0d28c46708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20Adel=C3=B6w?= Date: Mon, 14 Feb 2022 15:58:00 +0100 Subject: [PATCH] add back the deprecation triangle on cards too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Fredrik Adelöw --- .../scaffolder/src/components/TemplateCard/TemplateCard.tsx | 5 +++-- .../scaffolder/src/components/TemplateList/TemplateList.tsx | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx b/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx index 8457b2af0d..3495409dd6 100644 --- a/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx +++ b/plugins/scaffolder/src/components/TemplateCard/TemplateCard.tsx @@ -120,7 +120,8 @@ const DeprecationWarning = () => { const Title = ( - This template syntax is deprecated. Click for more info. + This template uses a syntax that has been deprecated, and should be + migrated to a newer syntax. Click for more info. ); @@ -128,7 +129,7 @@ const DeprecationWarning = () => {
diff --git a/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx b/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx index 748aaf63f5..a7f0b49132 100644 --- a/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx +++ b/plugins/scaffolder/src/components/TemplateList/TemplateList.tsx @@ -87,6 +87,7 @@ export const TemplateList = ({ ))}