diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-06 22:12:01 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-06 22:12:01 +0400 |
commit | 512cd02335de9de22aab688743a01fa868229f0d (patch) | |
tree | 6996e941f796450bcb25150f502eb861bddeeaf4 /app/views/shared/_issues.html.haml | |
parent | 21c70354f609c292d302c433f9f9bcea31674ab9 (diff) |
Dashboard/Group issues and mr pages refactoring
Diffstat (limited to 'app/views/shared/_issues.html.haml')
-rw-r--r-- | app/views/shared/_issues.html.haml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app/views/shared/_issues.html.haml b/app/views/shared/_issues.html.haml new file mode 100644 index 00000000000..33f8f5f4ad1 --- /dev/null +++ b/app/views/shared/_issues.html.haml @@ -0,0 +1,19 @@ +- if @issues.any? + - @issues.group_by(&:project).each do |group| + %div.ui-box + - project = group[0] + .title + = link_to_project project + + %i.icon-angle-right + + = link_to 'issues', project_issues_path(project) + + %ul.well-list.issues-list + - group[1].each do |issue| + = render 'projects/issues/issue', issue: issue + %hr + = paginate @issues, theme: "gitlab" +- else + %p.nothing_here_message Nothing to show here + |