diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:20:03 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-12-02 16:20:03 +0300 |
commit | fbe6432934973021acddcff1d3b0fd3ed5844d2b (patch) | |
tree | 42681d8713e4649f5c1fdc55b05d06098c19d0db /app/views/projects/issues/_issue.html.haml | |
parent | 08ee38a1c5d55d66070aa6430afa991a395a7da0 (diff) |
Move labels to second line of issue/MR list item
Diffstat (limited to 'app/views/projects/issues/_issue.html.haml')
-rw-r--r-- | app/views/projects/issues/_issue.html.haml | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/views/projects/issues/_issue.html.haml b/app/views/projects/issues/_issue.html.haml index 2e50b603317..1eb71990e55 100644 --- a/app/views/projects/issues/_issue.html.haml +++ b/app/views/projects/issues/_issue.html.haml @@ -6,9 +6,6 @@ .issue-title %span.issue-title-text = link_to_gfm issue.title, issue_path(issue), class: "row_title" - .issue-labels - - issue.labels.each do |label| - = link_to_label(label, project: issue.project) .pull-right.light - if issue.closed? %span @@ -36,7 +33,12 @@ = link_to namespace_project_issues_path(issue.project.namespace, issue.project, milestone_title: issue.milestone.title) do = icon('clock-o') = issue.milestone.title + - if issue.labels.any? + + - issue.labels.each do |label| + = link_to_label(label, project: issue.project) - if issue.tasks? + %span.task-status = issue.task_status |