deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfoj...@apache.org
Subject [1/2] git commit: Adds hardware_profiles view to image html
Date Wed, 15 Feb 2012 11:28:09 GMT
Updated Branches:
  refs/heads/master b4c8f4712 -> 58372c1d2


Adds hardware_profiles view to image html

Signed-off-by: marios <marios@redhat.com>


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/58372c1d
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/58372c1d
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/58372c1d

Branch: refs/heads/master
Commit: 58372c1d2144c196f006ff95b1868a10dc73ef2c
Parents: bc63e1a
Author: marios <marios@redhat.com>
Authored: Wed Feb 15 13:16:04 2012 +0200
Committer: Michal fojtik <mfojtik@redhat.com>
Committed: Wed Feb 15 12:28:44 2012 +0100

----------------------------------------------------------------------
 server/views/images/show.html.haml |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/58372c1d/server/views/images/show.html.haml
----------------------------------------------------------------------
diff --git a/server/views/images/show.html.haml b/server/views/images/show.html.haml
index bbdc9e5..482633c 100644
--- a/server/views/images/show.html.haml
+++ b/server/views/images/show.html.haml
@@ -20,6 +20,11 @@
     %li{ :'data-role' => 'list-divider'} Architecture
     %li
       %p{ :'data-role' => 'fieldcontain'}=@image.architecture
+    %li{ :'data-role' => 'list-divider'} Hardware Profiles
+    %li
+      %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }
+        - @image.hardware_profiles.each do |hwp|
+          %a{ :href => api_url_for("hardware_profiles/#{hwp.name}"), :'data-role' =>
"button", :'data-ajax' => 'false'} #{hwp.name}
     %li{ :'data-role' => 'list-divider'} Actions
     %li
       %div{ :'data-role' => 'controlgroup', :'data-type' => "horizontal" }


Mime
View raw message