Makes the template column i NC config expandable

This commit is contained in:
Søren Kottal
2021-11-13 15:30:03 +01:00
committed by Nathan Woulfe
parent 8b6c844a55
commit 336f2c2d5b
2 changed files with 8 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.DocTypePickerController", [
angular.module("umbraco").controller("Umbraco.PropertyEditors.NestedContent.DocTypePickerController", [
"$scope",
"Umbraco.PropertyEditors.NestedContent.Resources",
@@ -10,6 +10,7 @@
var selectElementTypeModalTitle = "";
$scope.elemTypeTabs = [];
$scope.expandTemplate = false;
init();

View File

@@ -1,4 +1,4 @@
<div id="{{model.alias}}" class="umb-nested-content__doctypepicker" ng-controller="Umbraco.PropertyEditors.NestedContent.DocTypePickerController">
<div id="{{model.alias}}" class="umb-nested-content__doctypepicker" ng-controller="Umbraco.PropertyEditors.NestedContent.DocTypePickerController">
<div>
<table class="table table-striped">
<thead>
@@ -10,7 +10,11 @@
<th>
<localize key="general_group">Group</localize>
</th>
<th>
<th ng-class="{'w-100':expandTemplate}">
<button type="button" class="pull-right p0 btn btn-link" ng-click="expandTemplate = !expandTemplate"
ng-class="{'fa-flip-horizontal': !expandTemplate}">
<umb-icon icon="icon-tab-key"></umb-icon>
</button>
<localize key="template_template">Template</localize>
</th>
<th></th>