You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by mf...@redhat.com on 2011/12/07 16:26:51 UTC
[PATCH core 7/8] CIMI: Added details in cloud_entry_point UI and 'todo' labels
From: Michal Fojtik <mf...@redhat.com>
Signed-off-by: Michal fojtik <mf...@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