summaryrefslogtreecommitdiff
path: root/app/views/projects/boards/components/_card.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/boards/components/_card.html.haml')
-rw-r--r--app/views/projects/boards/components/_card.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/projects/boards/components/_card.html.haml b/app/views/projects/boards/components/_card.html.haml
new file mode 100644
index 00000000000..516deb92e3c
--- /dev/null
+++ b/app/views/projects/boards/components/_card.html.haml
@@ -0,0 +1,9 @@
+%li.card{ "v-for" => "issue in board.issues", ":data-issue" => "issue.id" }
+ %h4.card-title
+ %a{ href: "#" }
+ {{ issue.title }}
+ .card-footer
+ %span.card-number
+ \#288
+ %span.label.color-label{ "v-for" => "label in issue.labels", ":style" => "{ backgroundColor: label.backgroundColor, color: label.textColor }" }
+ {{ label.title }}