From 29e8fd786d4ee00fa48721d4e7797920ac49a5ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Kottal?= Date: Tue, 19 Jul 2022 03:35:52 +0200 Subject: [PATCH] Tweaks the composition dialog in the content type editor (#12698) * Tweaks the composition dialog in the content type editor - removes the search field if no content types is available - change the styling on the info text regarding missing content types - moves the search field closer to the content type list * fixes filter - needed vm binding, probably due to introducing ng-if and related scope trickery tweaked css on checkbox list icon to improve alignment Co-authored-by: Nathan Woulfe --- .../less/components/umb-checkbox-list.less | 1 + .../compositions/compositions.html | 61 +++++++++++-------- 2 files changed, 35 insertions(+), 27 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/components/umb-checkbox-list.less b/src/Umbraco.Web.UI.Client/src/less/components/umb-checkbox-list.less index c9f47a66df..44fa84ebb8 100644 --- a/src/Umbraco.Web.UI.Client/src/less/components/umb-checkbox-list.less +++ b/src/Umbraco.Web.UI.Client/src/less/components/umb-checkbox-list.less @@ -47,6 +47,7 @@ .umb-checkbox-list__item-icon-wrapper { position: relative; + display: flex; .umb-button__progress { width: 10px; diff --git a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/compositions/compositions.html b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/compositions/compositions.html index 9ebb9d4e45..99e18c067d 100644 --- a/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/compositions/compositions.html +++ b/src/Umbraco.Web.UI.Client/src/views/common/infiniteeditors/compositions/compositions.html @@ -16,55 +16,62 @@ -
- - - +
+
+ + Inherit tabs and properties from an existing Document Type. New tabs will be added to the current Document Type or + merged if a tab with an identical name exists. +
- Inherit tabs and properties from an existing Document Type. New tabs will be added to the current Document Type or - merged if a tab with an identical name exists. + + + +
- +
+ +
+ +
There are no Content Types available to use as a composition. - +
- +
This Content Type is used in a composition, and therefore cannot be composed itself. - +
-
+
Where is this composition used?

This composition is currently used in the composition of the following Content Types:

+
-
    +
    • {{group.containerPath}}