Sha256: 8eb5a493c33cb6306c126bcc2f82da805ce3d9abb49ffd25eaf34d6a70da06cf

Contents?: true

Size: 686 Bytes

Versions: 4

Compression:

Stored size: 686 Bytes

Contents

<%= react_component('SnapshotManagement', {
  host: @host,
  canCreate: authorized_for(:auth_object => @host, :permission => :create_snapshots),
  canUpdate: authorized_for(:auth_object => @host, :permission => :edit_snapshots),
  canRevert: authorized_for(:auth_object => @host, :permission => :revert_snapshots),
  canDelete: authorized_for(:auth_object => @host, :permission => :destroy_snapshots),
  capabilities:
  {
    editableSnapshotName: @host.compute_resource.capable?(:editable_snapshot_name),
    limitSnapshotNameFormat: @host.compute_resource.capable?(:limit_snapshot_name_format),
    quiesceOption: @host.compute_resource.capable?(:snapshot_include_quiesce)
  }
}) %> 

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_snapshot_management-4.0.0 app/views/foreman_snapshot_management/snapshots/_index.html.erb
foreman_snapshot_management-3.0.1 app/views/foreman_snapshot_management/snapshots/_index.html.erb
foreman_snapshot_management-3.0.0 app/views/foreman_snapshot_management/snapshots/_index.html.erb
foreman_snapshot_management-2.0.3 app/views/foreman_snapshot_management/snapshots/_index.html.erb