Commit c5d95355 authored by David O'Regan's avatar David O'Regan

Merge branch 'Update-markup-in-branches/new-haml-file' into 'master'

Update markup in projects/branches/new.html.haml

See merge request gitlab-org/gitlab!63178
parents 2fca139b 8b8e92fd
......@@ -2,10 +2,10 @@
- default_ref = params[:ref] || @project.default_branch
- if @error
.gl-alert.gl-alert-danger
= 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')
= render 'shared/global_alert',
variant: :danger,
close_button_class: 'js-close',
is_contained: true do
.gl-alert-body
= @error
%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