diff options
author | Fatih Acet <acetfatih@gmail.com> | 2016-07-15 13:40:13 +0000 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2016-07-15 13:40:13 +0000 |
commit | 877c77ccdb4af63e90a17c712ad2050296d198d4 (patch) | |
tree | f7323a1a23b6dad2fcd968c5d2bfa7fa1ce66c29 /app/views | |
parent | 47ca5c369a039e7f5e195fe884a54f86cdde195a (diff) | |
parent | 0666515e1fe461ec1ddefffb4ffd2955b5a478e1 (diff) | |
download | gitlab-ce-877c77ccdb4af63e90a17c712ad2050296d198d4.tar.gz |
Merge branch 'issuable-sidebar-collapsed-tooltip' into 'master'
Changed collapsed assignee tooltip to users name
## What does this MR do?
- Changes the collapsed assignee tooltip the users name rather than the username
- Updates the tooltip after updating the assignee
## What are the relevant issue numbers?
Closes #19280, #19281
## Screenshots (if relevant)
![Screen_Shot_2016-06-28_at_17.55.52](/uploads/e6ccc1703f59966c978e731a841aabdc/Screen_Shot_2016-06-28_at_17.55.52.png)
See merge request !4976
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/issuable/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml index adfab1af53e..e020a7d4d00 100644 --- a/app/views/shared/issuable/_sidebar.html.haml +++ b/app/views/shared/issuable/_sidebar.html.haml @@ -19,7 +19,7 @@ = form_for [@project.namespace.becomes(Namespace), @project, issuable], remote: true, format: :json, html: {class: 'issuable-context-form inline-update js-issuable-update'} do |f| .block.assignee - .sidebar-collapsed-icon.sidebar-collapsed-user{data: {toggle: "tooltip", placement: "left", container: "body"}, title: (issuable.assignee.to_reference if issuable.assignee)} + .sidebar-collapsed-icon.sidebar-collapsed-user{data: {toggle: "tooltip", placement: "left", container: "body"}, title: (issuable.assignee.name if issuable.assignee)} - if issuable.assignee = link_to_member(@project, issuable.assignee, size: 24) - else |