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
Tatuya Kamada
gitlab-ce
Commits
a091483b
Commit
a091483b
authored
Jan 18, 2016
by
Rubén Dávila
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some fixes from last code review.
parent
91bd0bf9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+1
-1
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+1
-1
app/views/projects/forks/index.html.haml
app/views/projects/forks/index.html.haml
+1
-1
app/views/shared/projects/_project.html.haml
app/views/shared/projects/_project.html.haml
+2
-2
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
a091483b
...
@@ -584,7 +584,7 @@ pre.light-well {
...
@@ -584,7 +584,7 @@ pre.light-well {
width
:
160px
;
width
:
160px
;
}
}
.fork
_
link
{
.fork
-
link
{
float
:
right
;
float
:
right
;
margin-left
:
$gl-padding
;
margin-left
:
$gl-padding
;
...
...
app/views/layouts/nav/_project.html.haml
View file @
a091483b
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
-
if
project_nav_tab?
:forks
-
if
project_nav_tab?
:forks
=
nav_link
(
controller: :forks
,
action: :index
)
do
=
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'
)
=
icon
(
'code-fork fw'
)
%span
%span
Forks
Forks
...
...
app/views/projects/forks/index.html.haml
View file @
a091483b
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
=
link_to
page_filter_path
(
sort:
sort_value_oldest_updated
,
without:
excluded_filters
)
do
=
link_to
page_filter_path
(
sort:
sort_value_oldest_updated
,
without:
excluded_filters
)
do
=
sort_title_oldest_updated
=
sort_title_oldest_updated
.fork
_
link.inline
.fork
-
link.inline
-
if
current_user
.
already_forked?
(
@project
)
&&
current_user
.
manageable_namespaces
.
size
<
2
-
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
=
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'
)
=
icon
(
'code-fork fw'
)
...
...
app/views/shared/projects/_project.html.haml
View file @
a091483b
...
@@ -33,11 +33,11 @@
...
@@ -33,11 +33,11 @@
-
if
forks
-
if
forks
%span
%span
%i
.fa.fa-code-fork
=
icon
(
'code-fork'
)
=
project
.
forks_count
=
project
.
forks_count
-
if
stars
-
if
stars
%span
%span
%i
.fa.fa-star
=
icon
(
'star'
)
=
project
.
star_count
=
project
.
star_count
-
if
show_last_commit_as_description
-
if
show_last_commit_as_description
.project-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