Commit bcc83adb authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '233658-migrate-alert-on-new-branch-page' into 'master'

Migrates the alert on the new branch page

See merge request gitlab-org/gitlab!50307
parents 6afaadcf 9cadfd36
...@@ -2,9 +2,12 @@ ...@@ -2,9 +2,12 @@
- 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')
= @error %button.js-close.gl-alert-dismiss{ type: 'button', 'aria-label' => _('Dismiss') }
= sprite_icon('close', size: 16, css_class: 'gl-icon')
.gl-alert-body
= @error
%h3.page-title %h3.page-title
New Branch New Branch
%hr %hr
......
---
title: Migrates the alert on the new branch page
merge_request: 50307
author:
type: other
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