Sha256: 50581b8b4a82baa4e1bd39b2e5744ccd162b64ee082031b1d24bedcd01086922

Contents?: true

Size: 439 Bytes

Versions: 7

Compression:

Stored size: 439 Bytes

Contents

- unless defined?(partial)
  !!! XML
%metric{:href => metric_url(@metric.id), :id => @metric.id}
  -haml_tag(:entity, :<) do
    -haml_concat @metric.send(:entity) || @metric.send(:id)
  %properties
    -@metric.properties.each do |prop|
      -haml_tag(prop.name, :<) do
        - if prop.values
          - prop.values.each do |p|
            %sample
              - p.each do |k, v|
                %property{ :name => k, :value => v }

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
deltacloud-core-1.1.2 views/metrics/show.xml.haml
deltacloud-core-1.1.1 views/metrics/show.xml.haml
deltacloud-core-1.1.0 views/metrics/show.xml.haml
deltacloud-core-1.0.5 views/metrics/show.xml.haml
deltacloud-core-1.0.4 views/metrics/show.xml.haml
deltacloud-core-1.0.3 views/metrics/show.xml.haml
deltacloud-core-1.0.2 views/metrics/show.xml.haml