From d80678c0da431517498ddf54d3b439498177e696 Mon Sep 17 00:00:00 2001 From: Douglas Barbosa Alexandre Date: Fri, 19 Feb 2016 16:37:29 -0200 Subject: Improve tasks page list UI --- app/views/dashboard/tasks/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/dashboard/tasks/index.html.haml b/app/views/dashboard/tasks/index.html.haml index 949006be886..4b6e3d83e62 100644 --- a/app/views/dashboard/tasks/index.html.haml +++ b/app/views/dashboard/tasks/index.html.haml @@ -35,10 +35,10 @@ class: 'select2 trigger-submit', include_blank: true, data: {placeholder: 'Action'}) -.tasks +.prepend-top-default - if @tasks.any? - @tasks.group_by(&:project).each do |group| - .panel.panel-default + .panel.panel-default.panel-small - project = group[0] .panel-heading = link_to project.name_with_namespace, namespace_project_path(project.namespace, project) -- cgit v1.2.1