mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 23:17:32 -02:30
Add link to credentials tag in template
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user