diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-05 08:44:26 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 17:12:47 +0100 |
commit | db2eabfd037957d88f4af573d6e2a2229ecb40ec (patch) | |
tree | 5c818aa4574602e744778cd95e1bcd02b653c981 /app/views/projects/boards | |
parent | fcee9323c0ba8fa17e1c7bfc4350290077889beb (diff) | |
download | gitlab-ce-db2eabfd037957d88f4af573d6e2a2229ecb40ec.tar.gz |
Added assignee to frontend
Diffstat (limited to 'app/views/projects/boards')
-rw-r--r-- | app/views/projects/boards/components/_card.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml index 0cb92ecadfe..707559122ef 100644 --- a/app/views/projects/boards/components/_card.html.haml +++ b/app/views/projects/boards/components/_card.html.haml @@ -8,3 +8,5 @@ {{ issue.id }} %span.label.color-label{ "v-for" => "label in issue.labels", ":style" => "{ backgroundColor: label.color, color: label.textColor }" } {{ label.title }} + %a{ ":href" => "'/u/' + issue.assignee.username", ":title" => "issue.assignee.name", "v-if" => "issue.assignee" } + %img.card-avatar{ ":src" => "issue.assignee.avatar", width: 20, height: 20 } |