diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-05-25 19:08:48 -0400 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-06-24 15:24:59 -0300 |
commit | bade71ba5a25dfa6ca49c84650a7178b9275bf63 (patch) | |
tree | bf9dea0c16110707ae12cb8c602382123466ec2c /app/views/shared | |
parent | c391a72c18e7081cfbc1b80627663fdfcf4bbfe6 (diff) | |
download | gitlab-ce-bade71ba5a25dfa6ca49c84650a7178b9275bf63.tar.gz |
Add specs and improve coffescript sortable binding functionissue_15588
Diffstat (limited to 'app/views/shared')
-rw-r--r-- | app/views/shared/milestones/_issuable.html.haml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/views/shared/milestones/_issuable.html.haml b/app/views/shared/milestones/_issuable.html.haml index 47b66d44e43..3c03c220ddd 100644 --- a/app/views/shared/milestones/_issuable.html.haml +++ b/app/views/shared/milestones/_issuable.html.haml @@ -21,7 +21,8 @@ = link_to polymorphic_path(base_url_args, { milestone_title: @milestone.title, label_name: label.title, state: 'all' }) do - render_colored_label(label) - - if assignee - = link_to polymorphic_path(base_url_args, { milestone_title: @milestone.title, assignee_id: issuable.assignee_id, state: 'all' }), - class: 'has-tooltip', title: "Assigned to #{assignee.name}", data: { container: 'body' } do - - image_tag(avatar_icon(issuable.assignee, 16), class: "avatar s16", alt: '') + %span{ class: "assignee-icon" } + - if assignee + = link_to polymorphic_path(base_url_args, { milestone_title: @milestone.title, assignee_id: issuable.assignee_id, state: 'all' }), + class: 'has-tooltip', title: "Assigned to #{assignee.name}", data: { container: 'body' } do + - image_tag(avatar_icon(issuable.assignee, 16), class: "avatar s16", alt: '') |