Sha256: e21c6f5138a3a12c989dbf8907a136b97dd2045d13d31a28b0094a7a4e6756ca
Contents?: true
Size: 763 Bytes
Versions: 13
Compression:
Stored size: 763 Bytes
Contents
= dropdown(variation: :dropleft) do - if EffectiveResources.authorized?(self, :mark_inherited, blob) = dropdown_link_to 'Mark as Inherited', effective_storage.mark_inherited_admin_storage_path(blob), data: { method: :post, remote: true, confirm: "Mark as Inherited Permission?" } - if EffectiveResources.authorized?(self, :mark_public, blob) = dropdown_link_to 'Mark as Public', effective_storage.mark_public_admin_storage_path(blob), data: { method: :post, remote: true, confirm: "Mark as Public Permission?" } - if EffectiveResources.authorized?(self, :purge, blob) = dropdown_link_to 'Delete', effective_storage.purge_admin_storage_path(blob), data: { method: :post, remote: true, confirm: "Really delete #{blob.to_s}?" }
Version data entries
13 entries across 13 versions & 1 rubygems