From: Jozef Zigmund <jzigmund(a)redhat.com>
Now it displays the value of pool.statistics[:instances_failed_visible_count].
https://bugzilla.redhat.com/show_bug.cgi?id=782336
---
src/app/views/pool_families/_pools.html.haml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/views/pool_families/_pools.html.haml
b/src/app/views/pool_families/_pools.html.haml
index 50a8c00..68de8c6 100644
--- a/src/app/views/pool_families/_pools.html.haml
+++ b/src/app/views/pool_families/_pools.html.haml
@@ -4,9 +4,9 @@
%td{:class => 'center'}= pool.deployments.count
%td{:class => 'center'}= pool.statistics[:total_instances]
%td{:class => 'center'}= pool.statistics[:instances_pending]
- %td{:class => 'center'}= pool.statistics[:instances_failed]
+ %td{:class => 'center'}= pool.statistics[:instances_failed_count]
%td{:class => 'center'}= pool.statistics[:quota_percent]
%td{:class => 'center'}= pool.statistics[:used_quota]
%td{:class => 'center'}= pool.statistics[:available_quota].nil? ?
raw('∞') : pool.statistics[:available_quota]
%td= link_to pool.catalogs.first.name, catalog_path(pool.catalogs.first) if
pool.catalogs.any?
- %td= link_to t(:edit), edit_pool_path(pool), :class => 'rounded-link'
+ %td= link_to t(:edit), edit_pool_path(pool), :class => 'rounded-link'
\ No newline at end of file
--
1.7.7.6