mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 14:38:00 -03:30
Add link to credentials tag in template
This commit is contained in:
parent
f49b61ecfa
commit
265554accb
@ -44,7 +44,7 @@
|
||||
<div class="at-RowItem-tagContainer" ng-if="tagValues && tagValues.length">
|
||||
<!-- If there are 5 or less credential tags, show them all with Tag Component -->
|
||||
<div ng-if="tagValues.length <= 5" ng-repeat="tag in tagValues">
|
||||
<at-tag tag="tag.name" icon="{{ tag.kind }}"></at-tag>
|
||||
<at-tag tag="tag.name" icon="{{ tag.kind }}" link="/#/credentials/{{ tag.id }}"></at-tag>
|
||||
</div>
|
||||
<!-- If there are 5 or MORE credential tags, handle them accordingly with Toggle Tag Component -->
|
||||
<at-toggle-tag tags="tagValues" ng-if="tagValues.length > 5"></at-toggle-tag>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user