diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-02 10:15:43 -0500 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-05-03 13:42:55 -0500 |
commit | 5b2531c38fa8982e816695a51f999991c27c1d38 (patch) | |
tree | dba56f1af2efbbc36b83857edb30e3b42c0b1498 | |
parent | a8684ea0bd834a1d98d7105fcf891009f72f1ef1 (diff) | |
download | gitlab-ce-5b2531c38fa8982e816695a51f999991c27c1d38.tar.gz |
Use @project.default_branch to show default branch
-rw-r--r-- | app/views/projects/issues/_new_branch.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/_new_branch.html.haml b/app/views/projects/issues/_new_branch.html.haml index 1ffb7ced803..2887df5fa15 100644 --- a/app/views/projects/issues/_new_branch.html.haml +++ b/app/views/projects/issues/_new_branch.html.haml @@ -19,7 +19,7 @@ .description %strong Create a merge request %span - Creates a branch named after this issue and a merge request. The source branch is 'master' by default. + = "Creates a branch named after this issue and a merge request. The source branch is '#{@project.default_branch}' by default." %li.divider.droplab-item-ignore %li{ role: 'button', data: { value: 'create-branch', 'text' => 'Create a branch' } } .menu-item @@ -28,4 +28,4 @@ .description %strong Create a branch %span - Creates a branch named after this issue. The source branch is 'master' by default. + = "Creates a branch named after this issue. The source branch is '#{@project.default_branch}' by default." |