You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@deltacloud.apache.org by mf...@apache.org on 2013/04/16 23:01:07 UTC
[3/4] git commit: Core: Fixed bug in HTML metrics view
Core: Fixed bug in HTML metrics view
Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/604e64e7
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/604e64e7
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/604e64e7
Branch: refs/heads/master
Commit: 604e64e7372706b2c41142c50a1ca7d0bb89de9b
Parents: 7e75689
Author: Michal Fojtik <mf...@redhat.com>
Authored: Tue Apr 16 11:42:04 2013 +0200
Committer: Michal fojtik <mf...@redhat.com>
Committed: Tue Apr 16 11:42:04 2013 +0200
----------------------------------------------------------------------
server/views/metrics/index.html.haml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/deltacloud/blob/604e64e7/server/views/metrics/index.html.haml
----------------------------------------------------------------------
diff --git a/server/views/metrics/index.html.haml b/server/views/metrics/index.html.haml
index e4277ae..cd7d235 100644
--- a/server/views/metrics/index.html.haml
+++ b/server/views/metrics/index.html.haml
@@ -4,7 +4,7 @@
%div{ :'data-role' => :content, :'data-theme' => 'c'}
%ul{ :'data-role' => :listview , :'data-inset' => :true, :'data-divider-theme' => 'a'}
%li{ :'data-role' => 'list-divider'}=driver_symbol
- - metrics.each do |metric|
+ - elements.each do |metric|
%li
%a{ :href => metric_url(metric.id), :'data-ajax' => 'false'}
%img{ :class => 'ui-link-thumb', :src => '/images/metric.png'}