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
ccba8a188310
Commit
a091483b
authored
Jan 18, 2016
by
Rubén Dávila
Browse files
Some fixes from last code review.
parent
9dc77b363763
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/pages/projects.scss
View file @
ccba8a18
...
...
@@ -584,7 +584,7 @@ pre.light-well {
width
:
160px
;
}
.fork
_
link
{
.fork
-
link
{
float
:
right
;
margin-left
:
$gl-padding
;
...
...
app/views/layouts/nav/_project.html.haml
View file @
ccba8a18
...
...
@@ -100,7 +100,7 @@
-
if
project_nav_tab?
:forks
=
nav_link
(
controller: :forks
,
action: :index
)
do
=
link_to
namespace_project_forks_path
(
@project
.
namespace
,
@project
),
title:
'Forks'
,
class:
'shortcuts-wiki'
do
=
link_to
namespace_project_forks_path
(
@project
.
namespace
,
@project
),
title:
'Forks'
do
=
icon
(
'code-fork fw'
)
%span
Forks
...
...
app/views/projects/forks/index.html.haml
View file @
ccba8a18
...
...
@@ -30,7 +30,7 @@
=
link_to
page_filter_path
(
sort:
sort_value_oldest_updated
,
without:
excluded_filters
)
do
=
sort_title_oldest_updated
.fork
_
link.inline
.fork
-
link.inline
-
if
current_user
.
already_forked?
(
@project
)
&&
current_user
.
manageable_namespaces
.
size
<
2
=
link_to
namespace_project_path
(
current_user
,
current_user
.
fork_of
(
@project
)),
title:
'Go to your fork'
,
class:
'pull-right btn btn-new'
do
=
icon
(
'code-fork fw'
)
...
...
app/views/shared/projects/_project.html.haml
View file @
ccba8a18
...
...
@@ -33,11 +33,11 @@
-
if
forks
%span
%i
.fa.fa-
code-fork
=
icon
(
'
code-fork
'
)
=
project
.
forks_count
-
if
stars
%span
%i
.fa.fa-
star
=
icon
(
'
star
'
)
=
project
.
star_count
-
if
show_last_commit_as_description
.project-description
...
...
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