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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9e806fd4
Commit
9e806fd4
authored
Jul 28, 2017
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ide' of gitlab.com:gitlab-org/gitlab-ce into ide
parents
0c560cbb
a536a9ed
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
8 deletions
+6
-8
app/helpers/tree_helper.rb
app/helpers/tree_helper.rb
+1
-1
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-3
app/views/layouts/header/_new.html.haml
app/views/layouts/header/_new.html.haml
+1
-3
app/views/profiles/preferences/show.html.haml
app/views/profiles/preferences/show.html.haml
+2
-0
app/views/shared/_user_dropdown_experimental_features.html.haml
...ews/shared/_user_dropdown_experimental_features.html.haml
+1
-0
app/views/shared/repo/_user_dropdown_link.html.haml
app/views/shared/repo/_user_dropdown_link.html.haml
+0
-1
No files found.
app/helpers/tree_helper.rb
View file @
9e806fd4
...
...
@@ -14,7 +14,7 @@ module TreeHelper
def
repo_url
(
project
)
if
controller_name
==
'projects'
readme_path
(
project
)
readme_path
(
project
)
||
project_tree_path
(
project
,
project
.
default_branch
)
else
request
.
original_url
end
...
...
app/views/layouts/header/_default.html.haml
View file @
9e806fd4
...
...
@@ -74,9 +74,7 @@
=
link_to
"Profile"
,
current_user
,
class:
'profile-link'
,
data:
{
user:
current_user
.
username
}
%li
=
link_to
"Settings"
,
profile_path
%li
=
link_to
"Turn on new navigation"
,
profile_preferences_path
(
anchor:
"new-navigation"
)
=
render
'shared/repo/user_dropdown_link'
=
render
'shared/user_dropdown_experimental_features'
%li
.divider
%li
=
link_to
"Sign out"
,
destroy_user_session_path
,
method: :delete
,
class:
"sign-out-link"
...
...
app/views/layouts/header/_new.html.haml
View file @
9e806fd4
...
...
@@ -68,9 +68,7 @@
=
link_to
"Profile"
,
current_user
,
class:
'profile-link'
,
data:
{
user:
current_user
.
username
}
%li
=
link_to
"Settings"
,
profile_path
%li
=
link_to
"Turn off new navigation"
,
profile_preferences_path
(
anchor:
"new-navigation"
)
=
render
'shared/repo/user_dropdown_link'
=
render
'shared/user_dropdown_experimental_features'
%li
.divider
%li
=
link_to
"Sign out"
,
destroy_user_session_path
,
method: :delete
,
class:
"sign-out-link"
...
...
app/views/profiles/preferences/show.html.haml
View file @
9e806fd4
...
...
@@ -18,6 +18,8 @@
=
scheme
.
name
.col-sm-12
%hr
%h3
#experimental-features
Experimental features
%hr
.col-lg-4.profile-settings-sidebar
#new-navigation
%h4
.prepend-top-0
New Navigation
...
...
app/views/shared/_user_dropdown_experimental_features.html.haml
0 → 100644
View file @
9e806fd4
%li
=
link_to
'Experimental features'
,
profile_preferences_path
(
anchor:
'experimental-features'
)
app/views/shared/repo/_user_dropdown_link.html.haml
deleted
100644 → 0
View file @
0c560cbb
%li
=
link_to
"Turn
#{
show_new_repo?
?
'off'
:
'on'
}
new repository"
,
profile_preferences_path
(
anchor:
"new-repository"
)
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