Sha256: 12d7a2246244f5b170894ba03e70822b9ada04431f060a78f03b2938ccf6063f
Contents?: true
Size: 1020 Bytes
Versions: 21
Compression:
Stored size: 1020 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, self.send(:"#{action}_instance_url", @instance.id), :class => instance_action_method(action)
Version data entries
21 entries across 21 versions & 3 rubygems