diff options
Diffstat (limited to 'app/views/projects/commits/_commits.html.haml')
-rw-r--r-- | app/views/projects/commits/_commits.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/commits/_commits.html.haml b/app/views/projects/commits/_commits.html.haml index 02b5fe00ad0..82d3bfbcfe6 100644 --- a/app/views/projects/commits/_commits.html.haml +++ b/app/views/projects/commits/_commits.html.haml @@ -35,9 +35,8 @@ - if hidden > 0 %li - = render 'shared/global_alert', - variant: :warning, - dismissible: false do + = render Pajamas::AlertComponent.new(variant: :warning, + dismissible: false) do .gl-alert-body = n_('%s additional commit has been omitted to prevent performance issues.', '%s additional commits have been omitted to prevent performance issues.', hidden) % number_with_delimiter(hidden) |