You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by lu...@apache.org on 2013/02/25 22:08:27 UTC
[1/6] git commit: CIMI Webapp (machineTemplates): minor cleanup of
index page
CIMI Webapp (machineTemplates): minor cleanup of index page
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/aef25e1f
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/aef25e1f
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/aef25e1f
Branch: refs/heads/master
Commit: aef25e1f6e9067cee174d08ceb90ec19eccc614f
Parents: 9130760
Author: NjeriChelimo <ma...@gmail.com>
Authored: Wed Feb 20 19:48:32 2013 +0300
Committer: David Lutterkort <lu...@redhat.com>
Committed: Mon Feb 25 12:48:23 2013 -0800
----------------------------------------------------------------------
clients/cimi/views/machine_templates/index.haml | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/aef25e1f/clients/cimi/views/machine_templates/index.haml
----------------------------------------------------------------------
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