Merge branch 'temp-editing-all-variants' of https://github.com/umbraco/Umbraco-CMS into temp-editing-all-variants
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
var directive = {
|
||||
restrict: 'E',
|
||||
replace: true,
|
||||
templateUrl: 'views/components/content/tabbed-content.html',
|
||||
templateUrl: 'views/components/content/umb-tabbed-content.html',
|
||||
controller: function ($scope) {
|
||||
|
||||
//expose the property/methods for other directives to use
|
||||
@@ -40,6 +40,6 @@
|
||||
|
||||
}
|
||||
|
||||
angular.module('umbraco.directives').directive('tabbedContent', tabbedContentDirective);
|
||||
angular.module('umbraco.directives').directive('umbTabbedContent', tabbedContentDirective);
|
||||
|
||||
})();
|
||||
@@ -11,7 +11,7 @@
|
||||
var directive = {
|
||||
restrict: 'E',
|
||||
replace: true,
|
||||
templateUrl: 'views/components/content/variant-content.html',
|
||||
templateUrl: 'views/components/content/umb-variant-content.html',
|
||||
link: function (scope) {
|
||||
|
||||
/**
|
||||
@@ -124,6 +124,6 @@
|
||||
|
||||
}
|
||||
|
||||
angular.module('umbraco.directives').directive('variantContent', variantContentDirective);
|
||||
angular.module('umbraco.directives').directive('umbVariantContent', variantContentDirective);
|
||||
|
||||
})();
|
||||
@@ -8,12 +8,13 @@
|
||||
|
||||
<div class="umb-split-views">
|
||||
<div class="umb-split-view" ng-class="{'umb-split-view--collapsed': editor.collapsed}" ng-repeat="editor in editors">
|
||||
<variant-content page="page"
|
||||
content="content"
|
||||
editor="editor"
|
||||
editors="editors"
|
||||
init-variant="initVariant(variant)">
|
||||
</variant-content>
|
||||
<umb-variant-content
|
||||
page="page"
|
||||
content="content"
|
||||
editor="editor"
|
||||
editors="editors"
|
||||
init-variant="initVariant(variant)">
|
||||
</umb-variant-content>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
<div class="form-horizontal" ng-controller="Umbraco.Editors.Content.Apps.ContentController as vm">
|
||||
|
||||
<tabbed-content ng-if="!vm.loading" content="vm.content"></tabbed-content>
|
||||
<umb-tabbed-content
|
||||
ng-if="!vm.loading"
|
||||
content="vm.content">
|
||||
</umb-tabbed-content>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<div class="umb-expansion-panel__header" ng-click="group.open = !group.open">
|
||||
<div>{{ group.label }}</div>
|
||||
<ins class="umb-expansion-panel__expand icon-navigation-right" ng-class="{'icon-navigation-down': !group.open, 'icon-navigation-up': group.open}"> </ins>
|
||||
<ins class="umb-expansion-panel__expand" ng-class="{'icon-navigation-down': !group.open, 'icon-navigation-up': group.open}"> </ins>
|
||||
</div>
|
||||
|
||||
<div class="umb-expansion-panel__content" ng-show="group.open">
|
||||
|
||||
Reference in New Issue
Block a user