add headerState to status icon in job-list page

This commit is contained in:
Haokun-Chen 2018-08-07 11:39:18 -04:00
parent 1c32df0fcd
commit 412d87239c
No known key found for this signature in database
GPG Key ID: B2AA94BEF6591515

View File

@ -1,12 +1,12 @@
<div class="at-RowItem" ng-class="{'at-RowItem--isHeader': headerValue, 'at-RowItem--inline': inline}"
ng-show="status || headerValue || value || valueBindHtml || (smartStatus && smartStatus.summary_fields.recent_jobs.length) || (tagValues && tagValues.length)">
<div class="at-RowItem-status" ng-if="status">
<a ng-if="headerLink" ng-href="{{ headerLink }}"
<a ng-if="headerLink || headerState" ng-href="{{ headerLink }}" ui-sref="{{ headerState }}"
aw-tool-tip="{{ statusTip }}" data-tip-watch="statusTip"
data-placement="top">
<i class="fa icon-job-{{ status }}"></i>
</a>
<div ng-if="!headerLink"
<div ng-if="!headerLink && !headerState"
aw-tool-tip="{{ statusTip }}" data-tip-watch="statusTip"
data-placement="top">
<i class="fa icon-job-{{ status }}"></i>