Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
b1437d4c
Commit
b1437d4c
authored
Dec 10, 2012
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use link_to_project for Dashboard: Issues, MR
parent
20c8d6e6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
+5
-1
app/views/dashboard/issues.html.haml
app/views/dashboard/issues.html.haml
+1
-1
app/views/dashboard/merge_requests.html.haml
app/views/dashboard/merge_requests.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/blocks.scss
View file @
b1437d4c
...
...
@@ -65,7 +65,7 @@
border
:
1px
solid
#eaeaea
;
@include
border-radius
(
4px
);
border-color
:
#CCC
;
@include
solid-shade
;
...
...
@@ -84,6 +84,10 @@
border-top
:
1px
solid
#eaeaea
;
border-bottom
:
1px
solid
#bbb
;
>
a
{
text-shadow
:
0
1px
1px
#fff
;
}
&
.small
{
line-height
:
28px
;
font-size
:
14px
;
...
...
app/views/dashboard/issues.html.haml
View file @
b1437d4c
...
...
@@ -13,7 +13,7 @@
-
@issues
.
group_by
(
&
:project
).
each
do
|
group
|
%div
.ui-box
-
@project
=
group
[
0
]
%h5
=
link_to
(
@project
.
name
,
project_path
(
@project
))
%h5
=
link_to
_project
@project
%ul
.unstyled.issues_table
-
group
[
1
].
each
do
|
issue
|
=
render
(
partial:
'issues/show'
,
locals:
{
issue:
issue
})
...
...
app/views/dashboard/merge_requests.html.haml
View file @
b1437d4c
...
...
@@ -12,7 +12,7 @@
-
@merge_requests
.
group_by
(
&
:project
).
each
do
|
group
|
%ul
.unstyled.ui-box
-
@project
=
group
[
0
]
%h5
=
@project
.
name
%h5
=
link_to_project
@project
-
group
[
1
].
each
do
|
merge_request
|
=
render
(
partial:
'merge_requests/merge_request'
,
locals:
{
merge_request:
merge_request
})
%hr
...
...
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