Merge pull request #3074 from emanuelschuetze/fixes2
Hide empty placeholder of ui-tree in sort templates.
This commit is contained in:
commit
07faf1078b
@ -23,7 +23,7 @@
|
|||||||
{{ alert.msg }}
|
{{ alert.msg }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div ui-tree="treeOptions" id="tree-root">
|
<div ui-tree="treeOptions" id="tree-root" data-empty-placeholder-enabled="false">
|
||||||
<ol ui-tree-nodes ng-model="items">
|
<ol ui-tree-nodes ng-model="items">
|
||||||
<li ng-repeat="item in items" ui-tree-node ng-include="'nodes_renderer.html'">
|
<li ng-repeat="item in items" ui-tree-node ng-include="'nodes_renderer.html'">
|
||||||
</ol>
|
</ol>
|
||||||
|
@ -81,7 +81,7 @@
|
|||||||
|
|
||||||
<!-- Next speakers -->
|
<!-- Next speakers -->
|
||||||
<div ng-show="nextSpeakers.length > 0">
|
<div ng-show="nextSpeakers.length > 0">
|
||||||
<div ui-tree="treeOptions">
|
<div ui-tree="treeOptions" data-empty-placeholder-enabled="false">
|
||||||
<ol ui-tree-nodes="" ng-model="speakers">
|
<ol ui-tree-nodes="" ng-model="speakers">
|
||||||
<li ng-repeat="speaker in nextSpeakers | orderBy:'weight'" ui-tree-node>
|
<li ng-repeat="speaker in nextSpeakers | orderBy:'weight'" ui-tree-node>
|
||||||
<i os-perms="agenda.can_manage" ui-tree-handle="" class="fa fa-arrows-v"></i>
|
<i os-perms="agenda.can_manage" ui-tree-handle="" class="fa fa-arrows-v"></i>
|
||||||
|
@ -82,7 +82,8 @@
|
|||||||
|
|
||||||
<div ng-if="assignment.phase != 2">
|
<div ng-if="assignment.phase != 2">
|
||||||
<h3 translate>Candidates</h3>
|
<h3 translate>Candidates</h3>
|
||||||
<div ui-tree="treeOptions" ng-if="assignment.assignment_related_users.length">
|
<div ui-tree="treeOptions" ng-if="assignment.assignment_related_users.length"
|
||||||
|
data-empty-placeholder-enabled="false">
|
||||||
<ol ui-tree-nodes="" ng-model="relatedUsersSorted">
|
<ol ui-tree-nodes="" ng-model="relatedUsersSorted">
|
||||||
<li ui-tree-node ng-repeat="related_user in assignment.assignment_related_users | orderBy:'weight'">
|
<li ui-tree-node ng-repeat="related_user in assignment.assignment_related_users | orderBy:'weight'">
|
||||||
<i ui-tree-handle="" class="fa fa-arrows-v spacer-right" os-perms="assignments.can_manage"></i>
|
<i ui-tree-handle="" class="fa fa-arrows-v spacer-right" os-perms="assignments.can_manage"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user