add helper text for direct properties

This commit is contained in:
Mads Rasmussen
2021-09-01 11:40:44 +02:00
parent 1d78baac10
commit 1cbae4e533
4 changed files with 11 additions and 1 deletions

View File

@@ -78,11 +78,13 @@
localizationService.localizeMany([
"validation_validation",
"contentTypeEditor_tabHasNoSortOrder",
"general_generic"
"general_generic",
"contentTypeEditor_tabDirectPropertiesDropZone"
]).then(data => {
validationTranslated = data[0];
tabNoSortOrderTranslated = data[1];
scope.genericTab.name = data[2];
scope.tabDirectPropertiesDropZoneLabel = data[3];
});
}

View File

@@ -323,6 +323,7 @@
.umb-group-builder__ungrouped-properties {
margin-top: 20px;
position: relative;
}
/* ---------- GROUPS ---------- */

View File

@@ -120,6 +120,12 @@
ng-click="addNewProperty(tab)">
<localize key="contentTypeEditor_addProperty"></localize>
</button>
<umb-empty-state
ng-if="sortingMode && tab.properties.length === 0"
position="center">
{{ tabDirectPropertiesDropZoneLabel }}
</umb-empty-state>
</umb-box-content>
</umb-box>

View File

@@ -1743,6 +1743,7 @@ To manage your website, simply open the Umbraco backoffice and start adding cont
<key alias="confirmDeleteGroupNotice">This will also delete all items below this group.</key>
<key alias="addTab">Add tab</key>
<key alias="convertToTab">Convert to tab</key>
<key alias="tabDirectPropertiesDropZone">Drag properties here to place directly on the tab</key>
</area>
<area alias="languages">
<key alias="addLanguage">Add language</key>