On 05/01/11 17:00 +0100, [email protected] wrote:
From: Michal Fojtik <[email protected]>

---
server/views/hardware_profiles/show.xml.haml |    2 ++
server/views/storage_volumes/show.xml.haml   |    6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/server/views/hardware_profiles/show.xml.haml 
b/server/views/hardware_profiles/show.xml.haml
index 094ffd5..434ee77 100644
--- a/server/views/hardware_profiles/show.xml.haml
+++ b/server/views/hardware_profiles/show.xml.haml
@@ -1,6 +1,8 @@
- unless defined?(partial)
  !!! XML
%hardware_profile{ :href => hardware_profile_url(@profile.name), :id => 
@profile.name }
+  %timestamp<
+    =Time.now.to_i

Damn, sorry for this timestamp ;-) It was used for testing, will be removed
before push.

  %name<
    [email protected]
  - @profile.each_property do |prop|
diff --git a/server/views/storage_volumes/show.xml.haml 
b/server/views/storage_volumes/show.xml.haml
index 8a20c61..c568561 100644
--- a/server/views/storage_volumes/show.xml.haml
+++ b/server/views/storage_volumes/show.xml.haml
@@ -7,13 +7,13 @@
  %capacity{ :unit => "GB" }<
    = @storage_volume.capacity
  - if @storage_volume.kind
-    %kind
+    %kind<
      = @storage_volume.kind
  - if @storage_volume.name
-    %name
+    %name<
      = @storage_volume.name
  - if @storage_volume.device
-    %device
+    %device<
      = @storage_volume.device
  - unless @storage_volume.instance_id.nil?
    %mount
--
1.7.3.4


--
--------------------------------------------------------
Michal Fojtik, [email protected]
Deltacloud API: http://deltacloud.org
--------------------------------------------------------

Reply via email to