summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2017-05-03 00:13:19 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2017-05-03 13:42:55 -0500
commit5f9f153be1505c9f505902db148c1bbd6d61ab1d (patch)
treeb807b2d1d00554306ef7b1a88630263ef2960310
parentffd5f73438bcf8c7e222a173b5fbaccdf6beed68 (diff)
downloadgitlab-ce-5f9f153be1505c9f505902db148c1bbd6d61ab1d.tar.gz
Remove unnecessary string quotes
Also fixes inconsistency in dropdown option values
-rw-r--r--app/views/projects/issues/_new_branch.html.haml6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/issues/_new_branch.html.haml b/app/views/projects/issues/_new_branch.html.haml
index 2887df5fa15..460f271ba1f 100644
--- a/app/views/projects/issues/_new_branch.html.haml
+++ b/app/views/projects/issues/_new_branch.html.haml
@@ -8,7 +8,7 @@
%button.btn.btn-inverted.disabled.dropdown-toggle{ type: 'button', disabled: 'disabled' }
= icon('caret-down')
.btn-group.available.hide
- %input.btn.js-create-merge-request.btn-inverted.btn-success{ type: 'button', value: 'Create merge request', data: { action: 'create-mr' } }
+ %input.btn.js-create-merge-request.btn-inverted.btn-success{ type: 'button', value: 'Create a merge request', data: { action: 'create-mr' } }
%button.btn.btn-inverted.dropdown-toggle.btn-inverted.btn-success.js-dropdown-toggle{ type: 'button', data: { 'dropdown-trigger' => '#create-merge-request-dropdown' } }
= icon('caret-down')
%ul#create-merge-request-dropdown.dropdown-menu.dropdown-menu-align-right{ data: { dropdown: true } }
@@ -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 '#{@project.default_branch}' 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 '#{@project.default_branch}' by default."
+ Creates a branch named after this issue. The source branch is '#{@project.default_branch}' by default.