summaryrefslogtreecommitdiff
path: root/app/views/shared/milestones
diff options
context:
space:
mode:
authorFelipe Artur <felipefac@gmail.com>2016-05-25 19:08:48 -0400
committerFelipe Artur <felipefac@gmail.com>2016-06-24 15:24:59 -0300
commitbade71ba5a25dfa6ca49c84650a7178b9275bf63 (patch)
treebf9dea0c16110707ae12cb8c602382123466ec2c /app/views/shared/milestones
parentc391a72c18e7081cfbc1b80627663fdfcf4bbfe6 (diff)
downloadgitlab-ce-bade71ba5a25dfa6ca49c84650a7178b9275bf63.tar.gz
Add specs and improve coffescript sortable binding functionissue_15588
Diffstat (limited to 'app/views/shared/milestones')
-rw-r--r--app/views/shared/milestones/_issuable.html.haml9
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: '')