You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2011/10/03 13:35:16 UTC
svn commit: r1178378 -
/incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml
Author: mfojtik
Date: Mon Oct 3 11:35:16 2011
New Revision: 1178378
URL: http://svn.apache.org/viewvc?rev=1178378&view=rev
Log:
DTACLOUD-83: Fixed the snapshot text
Modified:
incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml
Modified: incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml?rev=1178378&r1=1178377&r2=1178378&view=diff
==============================================================================
--- incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml (original)
+++ incubator/deltacloud/trunk/server/views/storage_volumes/show.html.haml Mon Oct 3 11:35:16 2011
@@ -26,7 +26,7 @@
%li
%div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
- if ["AVAILABLE", "IN-USE"].include?(@storage_volume.state)
- =link_to_action "Snaphot", api_url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
+ =link_to_action "Snapshot", api_url_for("storage_snapshots/new?volume_id=#{@storage_volume.id}"), :get
- unless @storage_volume.instance_id
=link_to_action "Delete", destroy_storage_volume_url(@storage_volume.id), :delete
=link_to_action "Attach", api_url_for("storage_volumes/attach?id=#{@storage_volume.id}"), :get