deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From martha.c.ch...@gmail.com
Subject [PATCH] CIMI Webapp: creating volume_configs; fix conflict in views/machine_templates/index.haml
Date Wed, 20 Feb 2013 16:48:32 GMT
From: NjeriChelimo <martha.c.chumo@gmail.com>

---
 clients/cimi/views/machine_templates/index.haml |    8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/clients/cimi/views/machine_templates/index.haml b/clients/cimi/views/machine_templates/index.haml
index 3daff47..165dcf4 100644
--- a/clients/cimi/views/machine_templates/index.haml
+++ b/clients/cimi/views/machine_templates/index.haml
@@ -1,4 +1,4 @@
-- @title=@machine_templates.description
+- @title=collection_name @machine_templates
 
 - content_for :breadcrumb do
   %ul.breadcrumb
@@ -8,7 +8,6 @@
     %li.active
       MachineTemplateCollection
 
-
 %blockquote
   %p
     A Machine Template Collection entity represents the collection of
@@ -19,9 +18,8 @@
 %ul
   - @machine_templates.machine_templates.each do |temp|
     %li
-      %a{ :href => "/cimi/machine_templates/#{temp.href.split('/').last}"}=temp.href.split('/').last
+      %a{ :href => "/cimi/machine_templates/#{href_to_id(temp.id)}"}=href_to_id(temp.id)
 
 -details 'MachineTemplateCollection details' do
   -row 'id',@machine_templates.id
-  -row 'Description',@machine_templates.description
-  -row 'Created',@machine_templates.created
+  -row 'Count',@machine_templates.count
-- 
1.7.9.5


Mime
View raw message