rename files to match file name conventions
This commit is contained in:
@@ -202,7 +202,7 @@
|
||||
// Property Editors
|
||||
@import "../views/propertyeditors/blockeditor/blockcard/umb-block-card-grid.less";
|
||||
@import "../views/propertyeditors/blockeditor/blockcard/blockcard.component.less";
|
||||
@import "../views/propertyeditors/blocklist/blocklist.component.less";
|
||||
@import "../views/propertyeditors/blocklist/umb-block-list-property-editor.less";
|
||||
@import "../views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.less";
|
||||
@import "../views/propertyeditors/blocklist/prevalue/blocklist.blockconfiguration.overlay.less";
|
||||
@import "../views/propertyeditors/notsupported/notsupported.less";
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
<umb-element-editor-content model="model.content"></umb-element-editor-content>
|
||||
@@ -28,7 +28,7 @@ angular.module("umbraco")
|
||||
// replace view of content app.
|
||||
var contentApp = apps.find(entry => entry.alias === "umbContent");
|
||||
if(contentApp) {
|
||||
contentApp.view = "views/common/infiniteeditors/elementeditor/elementeditor.content.html";
|
||||
contentApp.view = "views/common/infiniteeditors/blockeditor/blockeditor.content.html";
|
||||
if($scope.model.hideContent) {
|
||||
apps.splice(apps.indexOf(contentApp), 1);
|
||||
} else if ($scope.model.openSettings !== true) {
|
||||
@@ -49,7 +49,7 @@ angular.module("umbraco")
|
||||
"name": settingsName,
|
||||
"alias": "settings",
|
||||
"icon": "icon-settings",
|
||||
"view": "views/common/infiniteeditors/elementeditor/elementeditor.settings.html"
|
||||
"view": "views/common/infiniteeditors/blockeditor/blockeditor.settings.html"
|
||||
};
|
||||
vm.tabs.push(settingsTab);
|
||||
if ($scope.model.openSettings) {
|
||||
@@ -69,7 +69,7 @@ angular.module("umbraco")
|
||||
|
||||
vm.close = function() {
|
||||
if ($scope.model && $scope.model.close) {
|
||||
// TODO: If content has changed, we should notify user.
|
||||
// TODO: check if content/settings has changed and ask user if they are sure.
|
||||
$scope.model.close($scope.model);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
<div>
|
||||
<umb-element-editor-content model="model.content"></umb-element-editor-content>
|
||||
</div>
|
||||
@@ -4,7 +4,7 @@
|
||||
angular
|
||||
.module('umbraco.directives')
|
||||
.component('umbElementEditorContent', {
|
||||
templateUrl: 'views/common/infiniteeditors/elementeditor/elementEditor.content.component.html',
|
||||
templateUrl: 'views/components/elementeditor/umb-element-editor-content.component.html',
|
||||
controller: ElementEditorContentComponentController,
|
||||
controllerAs: 'vm',
|
||||
bindings: {
|
||||
@@ -1 +1 @@
|
||||
<block-list-property-editor property-form="propertyForm" model="model"/>
|
||||
<umb-block-list-property-editor property-form="propertyForm" model="model"/>
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
* @name umbraco.directives.directive:umbBlockListScopedBlock
|
||||
* @description
|
||||
* The component for a style-scoped block of the block list property editor.
|
||||
* Uses a ShadowDom to make a scoped element.
|
||||
* This way the backoffice styling does not collide with the block style.
|
||||
*/
|
||||
|
||||
angular
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
/**
|
||||
* @ngdoc directive
|
||||
* @name umbraco.directives.directive:blockListPropertyEditor
|
||||
* @name umbraco.directives.directive:umbBlockListPropertyEditor
|
||||
* @function
|
||||
*
|
||||
* @description
|
||||
@@ -12,8 +12,8 @@
|
||||
*/
|
||||
angular
|
||||
.module("umbraco")
|
||||
.component("blockListPropertyEditor", {
|
||||
templateUrl: "views/propertyeditors/blocklist/blocklist.component.html",
|
||||
.component("umbBlockListPropertyEditor", {
|
||||
templateUrl: "views/propertyeditors/blocklist/umb-block-list-property-editor.html",
|
||||
controller: BlockListController,
|
||||
controllerAs: "vm",
|
||||
bindings: {
|
||||
Reference in New Issue
Block a user