Sha256: 0170254beab08ffd928180f56722439637f58031ddb66ec0faa3a29330a30053

Contents?: true

Size: 1017 Bytes

Versions: 7

Compression:

Stored size: 1017 Bytes

Contents

%h1
  = @instance.id

%dl
  %di
    %dt Image
    %dd
      = link_to @instance.image_id, image_url( @instance.image_id )
  %di
    %dt Owner
    %dd
      = @instance.owner_id
  %di
    %dt Name
    %dd
      = @instance.name
  %di
    %dt Hardware Profile
    %dd
      - prof = @instance.instance_profile
      = link_to(prof.name, hardware_profile_url(prof.name))
      = format_instance_profile(prof)
  %di
    %dt Realm
    %dd
      = @instance.realm_id ? link_to(@instance.realm_id, realm_url(@instance.realm_id)) : 'default'
  %di
    %dt State
    %dd
      = @instance.state
  %di
    %dt Public Addresses
    %dd
      = @instance.public_addresses.collect { |address| "<div>#{address}</div>" }.join
  %di
    %dt Private Addresses
    %dd
      = @instance.private_addresses.collect { |address| "<div>#{address}</div>" }.join
  %di
    %dt
    %dd
      -@instance.actions.each do |action|
        =link_to_action action, self.send(:"#{action}_instance_url", @instance.id), instance_action_method(action)

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
steamcannon-deltacloud-core-0.1.2.1 views/instances/show.html.haml
steamcannon-deltacloud-core-0.1.1.3 views/instances/show.html.haml
deltacloud-core-0.1.2 views/instances/show.html.haml
steamcannon-deltacloud-core-0.1.1.2 views/instances/show.html.haml
steamcannon-deltacloud-core-0.1.1.1 views/instances/show.html.haml
deltacloud-core-0.1.1 views/instances/show.html.haml
deltacloud-core-0.1.0 views/instances/show.html.haml