1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

organization pattern differs from other views through the use of

partials. Stick with this one-off and just patch up the wrongly nested
smart-search / List-well divs.
This commit is contained in:
Chris Meyers 2016-12-20 14:30:58 -05:00
parent 6373642a67
commit 97fccd32d8

View File

@ -20,26 +20,27 @@
</button> </button>
</div> </div>
</div> </div>
<!-- smart-search directive bindings:
djangoModel: '@', // one-way, interpolated
searchSize: '@',
basePath: '@',
iterator: '@',
dataset: '=', // two-way
list: '=',
collection: '=',
searchTags: '=',
-->
<smart-search
django-model="organization"
base-path="organizations"
iterator="organization"
list="list"
dataset="organization_dataset"
collection="organizations"
search-tags="searchTags">
</smart-search>
<div class="List-well"> <div class="List-well">
<!-- smart-search directive bindings:
djangoModel: '@', // one-way, interpolated
searchSize: '@',
basePath: '@',
iterator: '@',
dataset: '=', // two-way
list: '=',
collection: '=',
searchTags: '=',
-->
<smart-search
django-model="organization"
base-path="organizations"
iterator="organization"
list="list"
dataset="organization_dataset"
collection="organizations"
search-tags="searchTags">
</smart-search>
<div class="List-noItems" ng-show="organizations.length < 1" translate>PLEASE ADD ITEMS TO THIS LIST</div> <div class="List-noItems" ng-show="organizations.length < 1" translate>PLEASE ADD ITEMS TO THIS LIST</div>