You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by ma...@gmail.com on 2013/02/20 17:48:32 UTC
[PATCH] CIMI Webapp: creating volume_configs; fix conflict in views/machine_templates/index.haml
From: NjeriChelimo <ma...@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
Re: [PATCH] CIMI Webapp: creating volume_configs; fix conflict in
views/machine_templates/index.haml
Posted by David Lutterkort <lu...@redhat.com>.
On Wed, 2013-02-20 at 19:48 +0300, martha.c.chumo@gmail.com wrote:
> From: NjeriChelimo <ma...@gmail.com>
>
> ---
> clients/cimi/views/machine_templates/index.haml | 8 +++-----
> 1 file changed, 3 insertions(+), 5 deletions(-)
ACK and pushed (with a commit message that reflects the content of the
patch a little more closely ;)
David