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
Boxiang Sun
gitlab-ce
Commits
275db3c5
Commit
275db3c5
authored
Sep 25, 2012
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix paths in commits/_head
parent
0887dda8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/views/commits/_head.html.haml
app/views/commits/_head.html.haml
+3
-3
No files found.
app/views/commits/_head.html.haml
View file @
275db3c5
%ul
.nav.nav-tabs
%li
=
render
partial:
'shared/ref_switcher'
,
locals:
{
destination:
'commits'
}
%li
{
class:
"#{'active' if current_
page?(project_commits_path(@project))
}"
}
=
link_to
project_commits_path
(
@project
)
do
%li
{
class:
"#{'active' if current_
controller?(:commit, :commits)
}"
}
=
link_to
project_commits_path
(
@project
,
@project
.
root_ref
)
do
Commits
%li
{
class:
"#{'active' if current_controller?(:compare)}"
}
=
link_to
project_compare_index_path
(
@project
)
do
...
...
@@ -16,7 +16,7 @@
Tags
%span
.badge
=
@project
.
repo
.
tag_count
-
if
current_
page?
(
project_commits_path
(
@project
)
)
&&
current_user
.
private_token
-
if
current_
controller?
(
:commits
)
&&
current_user
.
private_token
%li
.right
%span
.rss-icon
=
link_to
project_commits_path
(
@project
,
@ref
,
{
format: :atom
,
private_token:
current_user
.
private_token
}),
title:
"Feed"
do
...
...
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