From 2d8a10ebe9ef2df1d46bea3e3661a9647cfb4089 Mon Sep 17 00:00:00 2001 From: Jake McDermott Date: Wed, 11 Jul 2018 18:28:38 -0400 Subject: [PATCH] show status icon next to panel title when expanded --- awx/ui/client/features/output/index.controller.js | 2 ++ awx/ui/client/features/output/index.view.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/awx/ui/client/features/output/index.controller.js b/awx/ui/client/features/output/index.controller.js index a76ec0206e..0dca3b527f 100644 --- a/awx/ui/client/features/output/index.controller.js +++ b/awx/ui/client/features/output/index.controller.js @@ -303,6 +303,7 @@ function OutputIndexController ( // Panel vm.title = $filter('sanitize')(resource.model.get('name')); + vm.status = resource.model.get('status'); vm.strings = strings; vm.resource = resource; vm.reloadState = reloadState; @@ -340,6 +341,7 @@ function OutputIndexController ( }); startListening(); + status.subscribe(data => { vm.status = data.status; }); return last(); }); diff --git a/awx/ui/client/features/output/index.view.html b/awx/ui/client/features/output/index.view.html index 9861b32e63..c588f2b375 100644 --- a/awx/ui/client/features/output/index.view.html +++ b/awx/ui/client/features/output/index.view.html @@ -9,6 +9,8 @@
+ {{ vm.title }}