Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
31be261c41e4
Commit
27b7aedd
authored
Aug 06, 2013
by
Dmitriy Zaporozhets
Browse files
More compact lists for dashboard issues, mr
parent
52616dd64b25
Changes
3
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
View file @
31be261c
...
...
@@ -15,6 +15,22 @@
border
:
1px
solid
#CCC
;
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
{
margin
:
20px
0
;
background
:
#FFF
;
...
...
app/views/shared/_issues.html.haml
View file @
31be261c
-
if
@issues
.
any?
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
%div
.ui-box
.ui-box
.small-box
-
project
=
group
[
0
]
.title
=
link_to_project
project
%i
.icon-angle-right
=
link_to
'issues'
,
project_issues_path
(
project
)
=
link_to
'show all'
,
project_issues_path
(
project
),
class:
'pull-right'
%ul
.well-list.issues-list
-
group
[
1
].
each
do
|
issue
|
...
...
app/views/shared/_merge_requests.html.haml
View file @
31be261c
-
if
@merge_requests
.
any?
-
@merge_requests
.
group_by
(
&
:project
).
each
do
|
group
|
.ui-box
.ui-box
.small-box
-
project
=
group
[
0
]
.title
=
link_to_project
project
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment