Commit 27b7aedd authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

More compact lists for dashboard issues, mr

parent 512cd023
...@@ -15,6 +15,22 @@ ...@@ -15,6 +15,22 @@
border: 1px solid #CCC; border: 1px solid #CCC;
word-wrap: break-word; word-wrap: break-word;
&.small-box {
margin-bottom: 10px;
.title {
font-size: 13px;
line-height: 30px;
a {
color: #666;
&:hover {
text-decoration: underline;
}
}
}
}
&.ui-box-show { &.ui-box-show {
margin:20px 0; margin:20px 0;
background: #FFF; background: #FFF;
......
- if @issues.any? - if @issues.any?
- @issues.group_by(&:project).each do |group| - @issues.group_by(&:project).each do |group|
%div.ui-box .ui-box.small-box
- project = group[0] - project = group[0]
.title .title
= link_to_project project = link_to_project project
  = link_to 'show all', project_issues_path(project), class: 'pull-right'
%i.icon-angle-right
 
= link_to 'issues', project_issues_path(project)
%ul.well-list.issues-list %ul.well-list.issues-list
- group[1].each do |issue| - group[1].each do |issue|
......
- if @merge_requests.any? - if @merge_requests.any?
- @merge_requests.group_by(&:project).each do |group| - @merge_requests.group_by(&:project).each do |group|
.ui-box .ui-box.small-box
- project = group[0] - project = group[0]
.title .title
= link_to_project project = link_to_project project
......
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