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
e1c93a6b
Commit
e1c93a6b
authored
Feb 18, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
parents
f0750b91
4eba8036
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+4
-3
No files found.
app/views/projects/branches/_branch.html.haml
View file @
e1c93a6b
...
@@ -11,7 +11,8 @@
...
@@ -11,7 +11,8 @@
.pull-right
.pull-right
-
if
can?
(
current_user
,
:download_code
,
@project
)
-
if
can?
(
current_user
,
:download_code
,
@project
)
=
render
'projects/repositories/download_archive'
,
ref:
branch
.
name
,
btn_class:
'grouped btn-group-small'
=
render
'projects/repositories/download_archive'
,
ref:
branch
.
name
,
btn_class:
'grouped btn-group-small'
=
link_to
project_compare_index_path
(
@project
,
from:
branch
.
name
,
to:
branch
.
name
),
class:
'btn grouped btn-small'
,
title:
"Compare"
do
-
if
branch
.
name
!=
@repository
.
root_ref
=
link_to
project_compare_index_path
(
@project
,
from:
@repository
.
root_ref
,
to:
branch
.
name
),
class:
'btn grouped btn-small'
,
method: :post
,
title:
"Compare"
do
%i
.icon-copy
%i
.icon-copy
Compare
Compare
...
...
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