Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/_last_push.html.haml')
-rw-r--r--app/views/projects/_last_push.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/_last_push.html.haml b/app/views/projects/_last_push.html.haml
index 5a2add9de1e..9845de17a11 100644
--- a/app/views/projects/_last_push.html.haml
+++ b/app/views/projects/_last_push.html.haml
@@ -1,8 +1,8 @@
- event = last_push_event
- if event && show_last_push_widget?(event)
= render Pajamas::AlertComponent.new(variant: :success,
- alert_class: 'gl-mt-3',
- close_button_class: 'js-close-banner') do |c|
+ alert_options: { class: 'gl-mt-3' },
+ close_button_options: { class: 'js-close-banner' }) do |c|
= c.body do
%span= s_("LastPushEvent|You pushed to")
%strong.gl-display-inline-flex.gl-max-w-50p{ data: { toggle: 'tooltip' }, title: event.ref_name }