Sha256: 5d00c28769600dbee152c6afed467209497d1d998fe946c639d91a8b7225f7fe

Contents?: true

Size: 606 Bytes

Versions: 3

Compression:

Stored size: 606 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.type == "ForemanFogProxmox::Proxmox"
  }
}) %> 

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
foreman_snapshot_management-2.0.2 app/views/foreman_snapshot_management/snapshots/_index.html.erb
foreman_snapshot_management-2.0.1 app/views/foreman_snapshot_management/snapshots/_index.html.erb
foreman_snapshot_management-2.0.0 app/views/foreman_snapshot_management/snapshots/_index.html.erb