Commit 46b5f83a authored by Rubén Dávila's avatar Rubén Dávila

Show labels in Issues tab.

parent e6be134b
...@@ -15,3 +15,15 @@ li.milestone { ...@@ -15,3 +15,15 @@ li.milestone {
.time-elapsed { .time-elapsed {
color: #F14539; color: #F14539;
} }
.issue-row .assignee-icon {
.color-label {
float: left;
padding: 8px;
margin-left: 10px;
}
img {
margin-left: 8px;
}
}
%li{ id: dom_id(issue, 'sortable'), class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => issue_path(issue) } %li{ id: dom_id(issue, 'sortable'), class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => issue_path(issue) }
.pull-right.assignee-icon .pull-right.assignee-icon
- issue.labels.each do |label|
= render_colored_label(label)
- if issue.assignee - if issue.assignee
= image_tag avatar_icon(issue.assignee, 16), class: "avatar s16", alt: '' = image_tag avatar_icon(issue.assignee, 16), class: "avatar s24", alt: ''
%span %span
= link_to [@project.namespace.becomes(Namespace), @project, issue] do = link_to [@project.namespace.becomes(Namespace), @project, issue] do
%span.cgray ##{issue.iid} %span.cgray ##{issue.iid}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment