summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-05-31 22:33:08 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-05-31 22:38:10 -0600
commit80cf7d3b9761ccb5e0b13409bb4b91c5e1899b23 (patch)
tree404970e74857798d20bdf44e6e4ad83b985ab028
parent473ea1e974cf07751601904b882de9ee2b3d0618 (diff)
downloadgitlab-ce-80cf7d3b9761ccb5e0b13409bb4b91c5e1899b23.tar.gz
Add a title attribute to each branch in the branches dropdown on the New MR page.
-rw-r--r--app/views/projects/merge_requests/dropdowns/_branch.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/merge_requests/dropdowns/_branch.html.haml b/app/views/projects/merge_requests/dropdowns/_branch.html.haml
index ba8d9a5835c..a60c445aa51 100644
--- a/app/views/projects/merge_requests/dropdowns/_branch.html.haml
+++ b/app/views/projects/merge_requests/dropdowns/_branch.html.haml
@@ -1,5 +1,5 @@
%ul
- branches.each do |branch|
%li
- %a{ href: '#', class: "#{('is-active' if selected == branch)}", data: { id: branch } }
+ %a{ href: '#', class: "#{('is-active' if selected == branch)}", title: branch, data: { id: branch } }
= branch