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
4346c39b
Commit
4346c39b
authored
May 12, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move "Forked from" above "Version".
parent
a5ce66d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
app/views/projects/_aside.html.haml
app/views/projects/_aside.html.haml
+9
-8
No files found.
app/views/projects/_aside.html.haml
View file @
4346c39b
...
...
@@ -28,11 +28,20 @@
=
link_to
url_for_new_issue
(
@project
,
only_path:
true
),
title:
"New Issue"
,
class:
'btn btn-sm append-right-10'
do
=
icon
(
"exclamation-circle fw"
)
New Issue
-
if
can?
current_user
,
:write_merge_request
,
@project
=
link_to
new_namespace_project_merge_request_path
(
@project
.
namespace
,
@project
),
class:
"btn btn-sm"
,
title:
"New Merge Request"
do
=
icon
(
"plus fw"
)
New Merge Request
-
if
forked_from_project
=
@project
.
forked_from_project
.well
%h4
=
icon
(
"code-fork fw"
)
Forked from
.pull-right
=
link_to
forked_from_project
.
namespace
.
try
(
:name
),
project_path
(
forked_from_project
)
-
if
version
=
@repository
.
version
.well
%h4
...
...
@@ -42,14 +51,6 @@
=
link_to
version_url
(
@project
)
do
=
@repository
.
blob_by_oid
(
version
.
id
).
data
-
if
forked_from_project
=
@project
.
forked_from_project
.well
%h4
=
icon
(
"code-fork fw"
)
Forked from
.pull-right
=
link_to
forked_from_project
.
namespace
.
try
(
:name
),
project_path
(
forked_from_project
)
-
@project
.
ci_services
.
each
do
|
ci_service
|
-
if
ci_service
.
active?
&&
ci_service
.
respond_to?
(
:builds_path
)
.well
...
...
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