From 9790d144dd703bb18f942142b5ac7c67aea02dc5 Mon Sep 17 00:00:00 2001 From: Issermann Hannah Date: Mon, 13 Mar 2023 10:44:45 +0100 Subject: [PATCH] Changes after Julien's review: - removing unneeded boosted mod comments - adding info about blue design callout in introduction and update text about red ones - removing h4 class to callout title Also: - renaming ods-alert shortcode to design-callout-alert to be easier to find and refer --- site/content/docs/5.3/components/badge.md | 20 ++++++++-------- .../content/docs/5.3/components/breadcrumb.md | 4 ++-- .../docs/5.3/components/button-group.md | 20 ++++++++-------- site/content/docs/5.3/components/buttons.md | 12 +++++----- site/content/docs/5.3/components/carousel.md | 4 ++-- site/content/docs/5.3/components/collapse.md | 4 ++-- site/content/docs/5.3/components/dropdowns.md | 24 +++++++++---------- .../content/docs/5.3/components/list-group.md | 16 ++++++------- site/content/docs/5.3/components/modal.md | 8 +++---- site/content/docs/5.3/components/navbar.md | 4 ++-- site/content/docs/5.3/components/navs-tabs.md | 8 +++---- site/content/docs/5.3/components/progress.md | 16 ++++++------- site/content/docs/5.3/components/scrollspy.md | 4 ++-- site/content/docs/5.3/components/spinners.md | 4 ++-- site/content/docs/5.3/components/tooltips.md | 4 ++-- site/content/docs/5.3/content/reboot.md | 4 ++-- site/content/docs/5.3/content/tables.md | 10 ++++---- site/content/docs/5.3/customize/color.md | 4 ++-- site/content/docs/5.3/forms/input-group.md | 20 ++++++++-------- site/content/docs/5.3/forms/layout.md | 4 ++-- .../docs/5.3/getting-started/introduction.md | 16 +++++++++---- site/content/docs/5.3/helpers/focus-ring.md | 4 ++-- site/content/docs/5.3/helpers/icon-link.md | 4 ++-- site/content/docs/5.3/utilities/link.md | 4 ++-- ...s-alert.html => design-callout-alert.html} | 4 ++-- 25 files changed, 116 insertions(+), 110 deletions(-) rename site/layouts/shortcodes/{ods-alert.html => design-callout-alert.html} (79%) diff --git a/site/content/docs/5.3/components/badge.md b/site/content/docs/5.3/components/badge.md index d3164f2c15..cb29bb5317 100644 --- a/site/content/docs/5.3/components/badge.md +++ b/site/content/docs/5.3/components/badge.md @@ -14,9 +14,9 @@ Badges scale to match the size of the immediate parent element by using relative ### Headings -{{< ods-alert >}} +{{< design-callout-alert >}} This component variant should not be used because it does not exist in the Orange Design System specifications. -{{< /ods-alert >}} +{{< /design-callout-alert >}} {{< example >}}

Example heading New

@@ -31,9 +31,9 @@ This component variant should not be used because it does not exist in the Orang Badges can be used as part of links or buttons to provide a counter. -{{< ods-alert >}} +{{< design-callout-alert >}} This component should not be used because it does not exist in the Orange Design System specifications. -{{< /ods-alert >}} +{{< /design-callout-alert >}} {{< example >}} diff --git a/site/content/docs/5.3/components/navbar.md b/site/content/docs/5.3/components/navbar.md index 91ca2aa57b..b31a194dd6 100644 --- a/site/content/docs/5.3/components/navbar.md +++ b/site/content/docs/5.3/components/navbar.md @@ -8,11 +8,11 @@ aliases: toc: true --- -{{< ods-alert >}} +{{< design-callout-alert >}} This component explains the basic behavior, structure and concepts of navbars from a Bootstrap point of view. Some discrepancies exist with Boosted due to a different HTML structure. In order to build an Orange navbar please refer to [Orange navbar]({{< docsref "/components/orange-navbar" >}}). -{{< /ods-alert >}} +{{< /design-callout-alert >}} ## How it works diff --git a/site/content/docs/5.3/components/navs-tabs.md b/site/content/docs/5.3/components/navs-tabs.md index 06b7975245..b52780cfb2 100644 --- a/site/content/docs/5.3/components/navs-tabs.md +++ b/site/content/docs/5.3/components/navs-tabs.md @@ -155,9 +155,9 @@ Takes the basic nav from above and adds the `.nav-tabs` class to generate a tabb Take that same HTML, but use `.nav-pills` instead: -{{< ods-alert >}} +{{< design-callout-alert >}} This variant should not be used because it is a button component in the Orange Design System specifications. -{{< /ods-alert >}} +{{< /design-callout-alert >}} {{< example >}}