deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@redhat.com
Subject [PATCH core 7/8] CIMI: Added details in cloud_entry_point UI and 'todo' labels
Date Wed, 07 Dec 2011 15:26:51 GMT
From: Michal Fojtik <mfojtik@redhat.com>


Signed-off-by: Michal fojtik <mfojtik@redhat.com>
---
 clients/cimi/views/cloud_entry_point/index.haml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/clients/cimi/views/cloud_entry_point/index.haml b/clients/cimi/views/cloud_entry_point/index.haml
index 33321fc..9475b51 100644
--- a/clients/cimi/views/cloud_entry_point/index.haml
+++ b/clients/cimi/views/cloud_entry_point/index.haml
@@ -1,4 +1,4 @@
-- @title=@entry_point.description
+- @title=@entry_point.name
 
 - content_for :breadcrumb do
   %ul.breadcrumb
@@ -21,5 +21,15 @@
   - @entities.each do |entity|
     %li
       - if @entry_point.respond_to? entity
-        %a{ :href => "/cimi/#{entity}"}=@entry_point.send(entity.intern).class.name.split('_').last
+        %a{ :href => "/cimi/#{entity}"}=struct_to_name @entry_point.send(entity.intern)
+        =not_implemented(entity)
 
+%h3 Collection details
+
+%dl
+  %dt URI
+  %dd=@entry_point.uri
+  %dt Description
+  %dd=@entry_point.description
+  %dt Created
+  %dd=@entry_point.created
-- 
1.7.4.4


Mime
View raw message