Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-06 03:07:56 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-06 03:07:56 +0300
commitf38bcf2e443dd89acc774a2fa1efa2e881a67a90 (patch)
treeac135b383df45c9536206dc41650b95b8dc7aa51 /app/views/projects/branches
parenta29707687893beecb0e333a12e6f9e093a77eeb9 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/branches')
-rw-r--r--app/views/projects/branches/new.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/branches/new.html.haml b/app/views/projects/branches/new.html.haml
index 07bae7819a4..c06f60bd05d 100644
--- a/app/views/projects/branches/new.html.haml
+++ b/app/views/projects/branches/new.html.haml
@@ -2,8 +2,8 @@
- default_ref = params[:ref] || @project.default_branch
- if @error
- = render Pajamas::AlertComponent.new(variant: :danger) do
- .gl-alert-body
+ = render Pajamas::AlertComponent.new(variant: :danger) do |c|
+ = c.body do
= @error
%h3.page-title
= _('New Branch')