mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-17 17:28:36 -05:00
update tag component to use tag directive in smart-search, multi-select, input/lookup.partial, instance-group-multiselect
This commit is contained in:
@@ -22,13 +22,8 @@
|
||||
ng-if="state._lookupTags"
|
||||
ng-disabled="state._disabled || form.disabled">
|
||||
<div class="LabelList-tagContainer" ng-repeat="tag in state._value track by $index">
|
||||
<div class="LabelList-tag LabelList-tag--deletable">
|
||||
<span ng-if="tag.hostname" class="LabelList-name">{{ tag.hostname }}</span>
|
||||
<span ng-if="!tag.hostname" class="LabelList-name">{{ tag }}</span>
|
||||
</div>
|
||||
<div class="LabelList-deleteContainer" ng-click="vm.removeTag(tag)">
|
||||
<i class="fa fa-times LabelList-tagDelete"></i>
|
||||
</div>
|
||||
<at-tag ng-if="!tag.hostname" tag="tag" remove-tag="vm.removeTag(tag)"></at-tag>
|
||||
<at-tag ng-if="tag.hostname" tag="tag.hostname" remove-tag="vm.removeTag(tag)"></at-tag>
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
@@ -37,4 +32,4 @@
|
||||
</div>
|
||||
|
||||
<div ui-view="{{ state._resource }}"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user