Commit 8ef88b8e authored by Savas Vedova's avatar Savas Vedova

Replace bootstrap alerts with utility classes

parent 4b3669f3
...@@ -2,8 +2,10 @@ ...@@ -2,8 +2,10 @@
- default_ref = params[:ref] || @project.default_branch - default_ref = params[:ref] || @project.default_branch
- if @error - if @error
.alert.alert-danger .gl-alert.gl-alert-danger
%button.close{ type: "button", "data-dismiss" => "alert" } × = sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title')
%button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', size: 16, css_class: 'gl-icon')
= @error = @error
%h3.page-title %h3.page-title
......
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