diff options
Diffstat (limited to 'app/views/projects/artifacts/index.html.haml')
-rw-r--r-- | app/views/projects/artifacts/index.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/projects/artifacts/index.html.haml b/app/views/projects/artifacts/index.html.haml index 9cbc149177c..7fa47aed7c6 100644 --- a/app/views/projects/artifacts/index.html.haml +++ b/app/views/projects/artifacts/index.html.haml @@ -6,4 +6,6 @@ .gl-mb-6 %strong= s_('Artifacts|Total artifacts size') = number_to_human_size(@total_size, precicion: 2) - #js-artifact-management{ data: { "project-path" => @project.full_path } } + #js-artifact-management{ data: { "project-path": @project.full_path, + "can-destroy-artifacts" => can?(current_user, :destroy_artifacts, @project).to_s, + "artifacts-management-feedback-image-path": image_path('illustrations/chat-bubble-sm.svg') } } |