Commit 174fbd43 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch...

Merge branch '233675-replace-bootstrap-alerts-in-app/views/profiles/notifications/show.html.haml' into 'master'

Replace bootstrap alerts in app/.../show.html.haml

See merge request gitlab-org/gitlab!41310
parents eb50a87b ed615b81
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
%div %div
- if @user.errors.any? - if @user.errors.any?
.gl-alert.gl-alert-danger .gl-alert.gl-alert-danger.gl-my-5
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', css_class: 'gl-icon')
= sprite_icon('error', css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
.gl-alert-body
%ul %ul
- @user.errors.full_messages.each do |msg| - @user.errors.full_messages.each do |msg|
%li= msg %li= msg
......
---
title: Replace bootstrap alerts in app/views/profiles/notifications/show.html.haml
merge_request: 41310
author: Gilang Gumilar
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment