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:
authorJacob Schatz <jschatz1@gmail.com>2017-06-11 19:38:10 +0300
committerJacob Schatz <jschatz1@gmail.com>2017-06-11 19:38:10 +0300
commit0c4c5cddbcecf60a2d9048921473f3f637aa4e63 (patch)
treea6962f1305d8660a3dc2d816c83f1fd29b556410 /app/helpers/form_helper.rb
parent1e3bb74d4d4fe036ff54f3039b454b0f3a0de8ec (diff)
Changes default text to "Unassigned"
By changing this text the css will check for `toggle_text == default_label`. In this case they were not the same. Now they are and it will show the default label in gray.
Diffstat (limited to 'app/helpers/form_helper.rb')
-rw-r--r--app/helpers/form_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/form_helper.rb b/app/helpers/form_helper.rb
index 53962b84618..014fc46b130 100644
--- a/app/helpers/form_helper.rb
+++ b/app/helpers/form_helper.rb
@@ -29,7 +29,7 @@ module FormHelper
current_user: true,
project_id: issuable.project.try(:id),
field_name: "#{issuable.class.model_name.param_key}[assignee_ids][]",
- default_label: 'Assignee',
+ default_label: 'Unassigned',
'max-select': 1,
'dropdown-header': 'Assignee',
multi_select: true,