Send app object to message filters

this lets us access the state of an app
This commit is contained in:
Girish Ramakrishnan
2019-07-31 11:40:16 -07:00
parent 02dcbb9a52
commit 6bfcda9fdc
2 changed files with 6 additions and 4 deletions

View File

@@ -446,7 +446,7 @@
<h4 class="modal-title">Error for {{ appError.app.fqdn }}</h4>
</div>
<div class="modal-body">
<p>{{ appError.app.message | prettyAppMessage }}</p>
<p>{{ appError.app | prettyAppMessage }}</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary pull-left" ng-click="appConfigure.show(appError.app)" autofocus>Repair</button>
@@ -552,7 +552,7 @@
<div class="row">
<div class="col-xs-12 text-center">
<div class="grid-item-top-title" data-fittext>{{ app.label || app.location || app.fqdn }}</div>
<div class="text-muted status" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden" uib-tooltip="{{ app.message | shortAppMessage }}">
<div class="text-muted status" style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden" uib-tooltip="{{ app | shortAppMessage }}">
{{ app | installationStateLabel }}
</div>
<div class="status" ng-style="{ 'visibility': (app | installationActive) ? 'visible' : 'hidden' }">