On Thu, Mar 08, 2012 at 04:11:14PM -0500, Tzu-Mainn Chen wrote:
---
src/app/views/pool_families/_list.html.haml | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/src/app/views/pool_families/_list.html.haml
b/src/app/views/pool_families/_list.html.haml
index 1839c5b..55006a1 100644
--- a/src/app/views/pool_families/_list.html.haml
+++ b/src/app/views/pool_families/_list.html.haml
@@ -13,10 +13,7 @@
.caption_content
%header
%h2
- - if pool_family.pools.any?
- = link_to pool_family.name, pool_family
- - else
- = pool_family.name
+ = link_to pool_family.name, pool_family
.section-controls
#obj_actions
= link_to t("pools.new_pool"), new_pool_path(:pool_family_id
=> pool_family.id), :class => 'pool_family_button'
--
1.7.6.5
ACK. Looks good!
It is now possible to view environment details even if the environment
contains new pools. However, the image import / new image buttons are
still (properly) disabled in that case. That's perfect.
-- Matt