From: Tomas Sedovic <[email protected]>

https://bugzilla.redhat.com/show_bug.cgi?id=640498
https://bugzilla.redhat.com/show_bug.cgi?id=643865

Temporarily disabling the pool delete and edit buttons.
---
 src/app/views/pools/index.haml |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/app/views/pools/index.haml b/src/app/views/pools/index.haml
index f713d70..af099c6 100644
--- a/src/app/views/pools/index.haml
+++ b/src/app/views/pools/index.haml
@@ -3,12 +3,17 @@
   %dl
     %dt
       Pools
+    / NOTE the 'edit' and 'delete' buttons are temporarily disabled.
+    / They are replaced by generic <button> tags with no functionality.
+    / Once we suport editing and deleting pools, we should switch it back.
     %dd.edit
       %span
-      = submit_tag "edit", :class => "submit linkbutton"
+      /= submit_tag "edit", :class => "submit linkbutton"
+      %button.submit.linkbutton{ :disabled => 'disabled'} edit
     %dd.delete
       %span
-      = submit_tag "delete", :class => "submit linkbutton"
+      /= submit_tag "delete", :class => "submit linkbutton"
+      %button.submit.linkbutton{ :disabled => 'disabled'} delete
     %dd.add
       %span
       =link_to 'new pool', :action => :new, :class => "button"
-- 
1.7.2.3

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to