Move languages underneath sections

This commit is contained in:
Mads Rasmussen
2022-05-10 12:40:03 +02:00
parent 52f17cd25f
commit 4dd4f190e3

View File

@@ -25,6 +25,18 @@
<umb-box-content class="block-form">
<umb-control-group style="margin-bottom: 20px;" label="@main_sections"
description="@user_sectionsHelp">
<umb-node-preview style="max-width: 100%;" ng-repeat="section in vm.userGroup.sections"
icon="section.icon" name="section.name" allow-remove="true" on-remove="vm.removeSection($index)">
</umb-node-preview>
<button type="button" class="umb-node-preview-add" style="max-width: 100%;"
ng-click="vm.openSectionPicker()">
<localize key="general_add">Add</localize>
</button>
</umb-control-group>
<umb-control-group style="margin-bottom: 20px;" label="@treeHeaders_languages"
description="@user_languagesHelp">
<umb-node-preview style="max-width: 100%;" ng-repeat="language in vm.userGroup.languages"
@@ -38,18 +50,6 @@
</button>
</umb-control-group>
<umb-control-group style="margin-bottom: 20px;" label="@main_sections"
description="@user_sectionsHelp">
<umb-node-preview style="max-width: 100%;" ng-repeat="section in vm.userGroup.sections"
icon="section.icon" name="section.name" allow-remove="true" on-remove="vm.removeSection($index)">
</umb-node-preview>
<button type="button" class="umb-node-preview-add" style="max-width: 100%;"
ng-click="vm.openSectionPicker()">
<localize key="general_add">Add</localize>
</button>
</umb-control-group>
<umb-control-group style="margin-bottom: 20px;" label="@user_startnode"
description="@user_startnodehelp">
<umb-node-preview ng-if="vm.userGroup.contentStartNode.id" style="max-width: 100%;"