From: Michal Fojtik <[email protected]>

Signed-off-by: Michal fojtik <[email protected]>
---
 server/views/storage_snapshots/show.xml.haml |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/server/views/storage_snapshots/show.xml.haml 
b/server/views/storage_snapshots/show.xml.haml
index f9596a6..c151c1e 100644
--- a/server/views/storage_snapshots/show.xml.haml
+++ b/server/views/storage_snapshots/show.xml.haml
@@ -4,3 +4,6 @@
   %created<
     =@storage_snapshot.created
   %storage_volume{:href => 
storage_volume_url(@storage_snapshot.storage_volume_id), :id => 
@storage_snapshot.storage_volume_id}
+  %actions
+    - if driver.respond_to? :destroy_storage_snapshot
+      %link{:rel => :destroy, :method => :delete, :href => 
destroy_storage_snapshot_url(@storage_snapshot.id)}
-- 
1.7.9.1

Reply via email to