Skip to content

Commit

Permalink
Empty AWS bucket
Browse files Browse the repository at this point in the history
Signed-off-by: Miha Pleško <miha.plesko@xlab.si>
  • Loading branch information
miha-plesko committed Mar 1, 2017
1 parent 8abd781 commit 880d1a4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,17 @@ class ApplicationHelper::Toolbar::CloudObjectStoreContainerCenter < ApplicationH
t = N_('Configuration'),
t,
:items => [
button(
:cloud_object_store_container_empty,
'pficon pficon-delete fa-lg',
N_('Empty Object Storage Container'),
N_('Empty Object Storage Container'),
:url_parms => "main_div",
:confirm => N_("Warning: ALL Objects will be permanently removed from the Object Storage Container!"),
:enabled => false,
:onwhen => "1+"
),
separator,
button(
:cloud_object_store_container_delete,
'pficon pficon-delete fa-lg',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ class ApplicationHelper::Toolbar::CloudObjectStoreContainersCenter < Application
:enabled => false,
:onwhen => "1+",
:items => [
button(
:cloud_object_store_container_empty,
'pficon pficon-delete fa-lg',
N_('Empty selected Object Storage Containers'),
N_('Empty Object Storage Containers'),
:url_parms => "main_div",
:confirm => N_("Warning: ALL Objects will be permanently removed from the selected "\
"Object Storage Containers!"),
:enabled => false,
:onwhen => "1+"
),
separator,
button(
:cloud_object_store_container_delete,
'pficon pficon-delete fa-lg',
Expand Down

0 comments on commit 880d1a4

Please sign in to comment.