diff --git a/awx/ui/client/legacy-styles/ansible-ui.less b/awx/ui/client/legacy-styles/ansible-ui.less index b9b7cbc7cc..e925bff5d4 100644 --- a/awx/ui/client/legacy-styles/ansible-ui.less +++ b/awx/ui/client/legacy-styles/ansible-ui.less @@ -2222,3 +2222,18 @@ a:hover { .modal-body .alert { padding: 10px; } + +.WorkflowBadge{ + background-color: @b7grey; + border-radius: 10px; + color: @default-bg; + display: inline-block; + font-family: 'Open Sans'; + font-weight: bold; + font-style: normal; + font-size: x-small; + height: 14px; + margin-left: 5px; + padding-left: 2px; + width: 14px; +} diff --git a/awx/ui/client/src/job-results/job-results.partial.html b/awx/ui/client/src/job-results/job-results.partial.html index 3e1399447a..a3bbd11cf5 100644 --- a/awx/ui/client/src/job-results/job-results.partial.html +++ b/awx/ui/client/src/job-results/job-results.partial.html @@ -97,6 +97,15 @@ data-placement="top"> {{ job.summary_fields.job_template.name }} + + + W + + diff --git a/awx/ui/client/src/lists/AllJobs.js b/awx/ui/client/src/lists/AllJobs.js index 437e605f18..e5a47371c4 100644 --- a/awx/ui/client/src/lists/AllJobs.js +++ b/awx/ui/client/src/lists/AllJobs.js @@ -41,6 +41,17 @@ export default label: 'Name', columnClass: 'col-lg-2 col-md-3 col-sm-4 col-xs-6', ngClick: "viewJobDetails(job)", + badgePlacement: 'right', + badgeCustom: true, + badgeIcon: ` + + W + + ` }, type: { label: 'Type', diff --git a/awx/ui/client/src/shared/generator-helpers.js b/awx/ui/client/src/shared/generator-helpers.js index d60fdab399..0b350639e2 100644 --- a/awx/ui/client/src/shared/generator-helpers.js +++ b/awx/ui/client/src/shared/generator-helpers.js @@ -327,7 +327,11 @@ angular.module('GeneratorHelpers', [systemStatus.name]) } html += "\n"; } - } else { + } + else if(field.badgeCustom === true){ + html += field.badgeIcon; + } + else { if (field.badgeToolTip) { html += "