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
Kazuhiko Shiozaki
gitlab-ce
Commits
86ef2eb7
Commit
86ef2eb7
authored
Sep 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Conver forked from button to text
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
af3b6f63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+0
-1
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+7
-6
No files found.
app/assets/stylesheets/pages/projects.scss
View file @
86ef2eb7
...
@@ -48,7 +48,6 @@
...
@@ -48,7 +48,6 @@
p
{
p
{
color
:
#7f8fa4
;
color
:
#7f8fa4
;
display
:
inline
;
}
}
}
}
...
...
app/views/projects/_home_panel.html.haml
View file @
86ef2eb7
...
@@ -7,6 +7,13 @@
...
@@ -7,6 +7,13 @@
-
if
@project
.
description
.
present?
-
if
@project
.
description
.
present?
=
markdown
(
@project
.
description
,
pipeline: :description
)
=
markdown
(
@project
.
description
,
pipeline: :description
)
-
if
forked_from_project
=
@project
.
forked_from_project
%p
Forked from
=
link_to
project_path
(
forked_from_project
)
do
=
forked_from_project
.
namespace
.
try
(
:name
)
.project-repo-buttons
.project-repo-buttons
=
render
'projects/buttons/star'
=
render
'projects/buttons/star'
...
@@ -14,12 +21,6 @@
...
@@ -14,12 +21,6 @@
-
unless
empty_repo
-
unless
empty_repo
=
render
'projects/buttons/fork'
=
render
'projects/buttons/fork'
-
if
forked_from_project
=
@project
.
forked_from_project
=
link_to
project_path
(
forked_from_project
),
class:
'btn'
do
=
icon
(
"code-fork fw"
)
Forked from
=
forked_from_project
.
namespace
.
try
(
:name
)
-
if
can?
current_user
,
:download_code
,
@project
-
if
can?
current_user
,
:download_code
,
@project
=
link_to
archive_namespace_project_repository_path
(
@project
.
namespace
,
@project
,
ref:
@ref
,
format:
'zip'
),
class:
'btn'
,
rel:
'nofollow'
do
=
link_to
archive_namespace_project_repository_path
(
@project
.
namespace
,
@project
,
ref:
@ref
,
format:
'zip'
),
class:
'btn'
,
rel:
'nofollow'
do
=
icon
(
'download fw'
)
=
icon
(
'download fw'
)
...
...
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