mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 02:47:36 -02:30
Merge pull request #6980 from marshmalien/fix/insightsProjectEmptyRevisionString
Hide copy icon when revision string is empty
This commit is contained in:
@@ -243,7 +243,7 @@
|
|||||||
|
|
||||||
<!-- REVISION DETAIL -->
|
<!-- REVISION DETAIL -->
|
||||||
<div class="JobResults-resultRow"
|
<div class="JobResults-resultRow"
|
||||||
ng-show="job.scm_revision">
|
ng-if="job.scm_revision">
|
||||||
<label class="JobResults-resultRowLabel">
|
<label class="JobResults-resultRowLabel">
|
||||||
Revision
|
Revision
|
||||||
</label>
|
</label>
|
||||||
|
|||||||
@@ -525,7 +525,7 @@ angular.module('GeneratorHelpers', [systemStatus.name])
|
|||||||
Attr(field, 'columnClass') : "";
|
Attr(field, 'columnClass') : "";
|
||||||
html += `
|
html += `
|
||||||
<td ${classList}>
|
<td ${classList}>
|
||||||
<at-truncate string="{{project.scm_revision}}" maxLength="7"></at-truncate>
|
<at-truncate ng-if="project.scm_revision" string="{{project.scm_revision}}" maxLength="7"></at-truncate>
|
||||||
</td>`;
|
</td>`;
|
||||||
} else if (field.type === 'badgeCount') {
|
} else if (field.type === 'badgeCount') {
|
||||||
html = BadgeCount(params);
|
html = BadgeCount(params);
|
||||||
|
|||||||
Reference in New Issue
Block a user