diff options
author | Stan Hu <stanhu@gmail.com> | 2015-11-26 03:38:23 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-12-04 18:14:04 +0300 |
commit | 253301bb47d14494ea45230aeb682a9b7dffd5bb (patch) | |
tree | 54a56192cc77530d85b4dc4c7d472fe4d25b6b76 /app | |
parent | 238ca3e472a67d319521daa5aeab6455b4740cdb (diff) |
Make current user the first user in assignee dropdown in issues detail page
Closes #3679
Diffstat (limited to 'app')
-rw-r--r-- | app/views/shared/issuable/_context.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_context.html.haml b/app/views/shared/issuable/_context.html.haml index f44b439a843..2aa46662613 100644 --- a/app/views/shared/issuable/_context.html.haml +++ b/app/views/shared/issuable/_context.html.haml @@ -9,7 +9,7 @@ none .issuable-context-selectbox - if can?(current_user, :"admin_#{issuable.to_ability_name}", @project) - = users_select_tag("#{issuable.class.table_name.singularize}[assignee_id]", placeholder: 'Select assignee', class: 'custom-form-control js-select2 js-assignee', selected: issuable.assignee_id, project: @target_project, null_user: true, current_user: true) + = users_select_tag("#{issuable.class.table_name.singularize}[assignee_id]", placeholder: 'Select assignee', class: 'custom-form-control js-select2 js-assignee', selected: issuable.assignee_id, project: @target_project, null_user: true, current_user: true, first_user: true) %div.prepend-top-default.clearfix .issuable-context-title |