diff options
author | Phil Hughes <me@iamphill.com> | 2016-10-25 17:29:00 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-10-25 17:29:00 +0100 |
commit | 13f170fc5d182da78c3d0a7a0885628f59420ea0 (patch) | |
tree | 78272fd61277b8be3d23ce9e7e4789cabe036ac4 /app/views/projects/boards | |
parent | 19367b77776153696c4eda2b5d546e660357e965 (diff) | |
download | gitlab-ce-13f170fc5d182da78c3d0a7a0885628f59420ea0.tar.gz |
Moved avatar infront of labels
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index 5cfd42485c5..22c1dfa84fc 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -21,6 +21,11 @@ %span.card-number{ "v-if" => "issue.id" } = precede '#' do {{ issue.id }} + %a.has-tooltip{ ":href" => "'/' + issue.assignee.username", + ":title" => "'Assigned to ' + issue.assignee.name", + "v-if" => "issue.assignee", + data: { container: 'body' } } + %img.avatar.avatar-inline.s20{ ":src" => "issue.assignee.avatar", width: 20, height: 20 } %button.label.color-label.has-tooltip{ "v-for" => "label in issue.labels", type: "button", "v-if" => "(!list.label || label.id !== list.label.id)", @@ -29,8 +34,3 @@ ":title" => "label.description", data: { container: 'body' } } {{ label.title }} - %a.has-tooltip{ ":href" => "'/' + issue.assignee.username", - ":title" => "'Assigned to ' + issue.assignee.name", - "v-if" => "issue.assignee", - data: { container: 'body' } } - %img.avatar.avatar-inline.s20{ ":src" => "issue.assignee.avatar", width: 20, height: 20 } |