mirror of
https://github.com/ansible/awx.git
synced 2026-05-19 14:57:39 -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">
|
<div class="at-RowItem-tagContainer" ng-if="tagValues && tagValues.length">
|
||||||
<!-- If there are 5 or less credential tags, show them all with Tag Component -->
|
<!-- 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">
|
<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>
|
</div>
|
||||||
<!-- If there are 5 or MORE credential tags, handle them accordingly with Toggle Tag Component -->
|
<!-- 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>
|
<at-toggle-tag tags="tagValues" ng-if="tagValues.length > 5"></at-toggle-tag>
|
||||||
|
|||||||
Reference in New Issue
Block a user