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
Jérome Perrin
gitlab-ce
Commits
26d2fa0a
Commit
26d2fa0a
authored
Jun 20, 2016
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Code tab to Repo
Closes #18830
parent
74f8f260
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/views/layouts/nav/_project.html.haml
app/views/layouts/nav/_project.html.haml
+2
-2
features/steps/project/project_find_file.rb
features/steps/project/project_find_file.rb
+2
-2
features/steps/shared/project_tab.rb
features/steps/shared/project_tab.rb
+2
-2
No files found.
app/views/layouts/nav/_project.html.haml
View file @
26d2fa0a
...
...
@@ -38,9 +38,9 @@
-
if
project_nav_tab?
:files
=
nav_link
(
controller:
%w(tree blob blame edit_tree new_tree find_file commit commits compare repositories tags branches releases network)
)
do
=
link_to
project_files_path
(
@project
),
title:
'
Code
'
,
class:
'shortcuts-tree'
do
=
link_to
project_files_path
(
@project
),
title:
'
Repo
'
,
class:
'shortcuts-tree'
do
%span
Code
Repo
-
if
project_nav_tab?
:pipelines
=
nav_link
(
controller:
[
:pipelines
,
:builds
,
:environments
])
do
...
...
features/steps/project/project_find_file.rb
View file @
26d2fa0a
...
...
@@ -13,12 +13,12 @@ class Spinach::Features::ProjectFindFile < Spinach::FeatureSteps
end
step
'I should see "find file" page'
do
ensure_active_main_tab
(
'
Code
'
)
ensure_active_main_tab
(
'
Repo
'
)
expect
(
page
).
to
have_selector
(
'.file-finder-holder'
,
count:
1
)
end
step
'I fill in Find by path with "git"'
do
ensure_active_main_tab
(
'
Code
'
)
ensure_active_main_tab
(
'
Repo
'
)
expect
(
page
).
to
have_selector
(
'.file-finder-holder'
,
count:
1
)
end
...
...
features/steps/shared/project_tab.rb
View file @
26d2fa0a
...
...
@@ -8,8 +8,8 @@ module SharedProjectTab
ensure_active_main_tab
(
'Project'
)
end
step
'the active main tab should be
Code
'
do
ensure_active_main_tab
(
'
Code
'
)
step
'the active main tab should be
Repo
'
do
ensure_active_main_tab
(
'
Repo
'
)
end
step
'the active main tab should be Graphs'
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